mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Tweaked an error message, hopefully fixed the reconnecting problem.
This commit is contained in:
parent
cbb015a56e
commit
4a28fd91f5
@ -83,7 +83,7 @@ class SocketDriver(drivers.IrcDriver):
|
|||||||
# (11, 'Resource temporarily unavailable') raised if connect
|
# (11, 'Resource temporarily unavailable') raised if connect
|
||||||
# hasn't finished yet.
|
# hasn't finished yet.
|
||||||
if e.args[0] != 11:
|
if e.args[0] != 11:
|
||||||
log.warning('Disconnect from %s: %s',self.server,e.args[1])
|
log.warning('Disconnect from %s: %s', self.server, e)
|
||||||
self.reconnect(wait=True)
|
self.reconnect(wait=True)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user