mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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:
|
except socket.error, e:
|
||||||
self._handleSocketError(e)
|
self._handleSocketError(e)
|
||||||
return
|
return
|
||||||
if not self.irc.zombie:
|
if self.irc and not self.irc.zombie:
|
||||||
self._sendIfMsgs()
|
self._sendIfMsgs()
|
||||||
|
|
||||||
def connect(self, **kwargs):
|
def connect(self, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user