diff --git a/src/drivers/__init__.py b/src/drivers/__init__.py index 112f3d81c..859fe8118 100644 --- a/src/drivers/__init__.py +++ b/src/drivers/__init__.py @@ -184,6 +184,11 @@ def newDriver(irc, moduleName=None): if moduleName is None: moduleName = conf.supybot.drivers.module() if moduleName == 'default': + # XXX Twisted has been causing problems lately, so we're going to use + # the Socket driver by default, now. Leaving behind the code for using + # Twisted by default in case someone steps up and fixes the Twisted + # driver. + ''' try: import supybot.drivers.Twisted moduleName = 'supybot.drivers.Twisted' @@ -193,6 +198,8 @@ def newDriver(irc, moduleName=None): # module is cleaned up already. sys.modules.pop('supybot.drivers.Twisted', None) moduleName = 'supybot.drivers.Socket' + ''' + moduleName = 'supybot.drivers.Socket' elif not moduleName.startswith('supybot.drivers.'): moduleName = 'supybot.drivers.' + moduleName driverModule = __import__(moduleName, {}, {}, ['not empty'])