mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Fix crash in sending queued messages if SocketDriver.irc is None.
This commit is contained in:
parent
eee8e4ebe6
commit
0ecdb87aef
@ -242,7 +242,7 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
||||
except socket.error, e:
|
||||
self._handleSocketError(e)
|
||||
return
|
||||
if not self.irc.zombie:
|
||||
if self.irc and not self.irc.zombie:
|
||||
self._sendIfMsgs()
|
||||
|
||||
def connect(self, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user