mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Uh, why did I raise? I don't know. Anyway, handle write errors correctly in _sendIfMsgs.
This commit is contained in:
parent
0314133f56
commit
c0eb527117
@ -80,7 +80,9 @@ 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:
|
||||||
raise
|
s = 'Disconnect from %s: %s' % (self.server, e.args[1])
|
||||||
|
debug.msg(s, 'normal')
|
||||||
|
self.die()
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
#debug.methodNamePrintf(self, 'run')
|
#debug.methodNamePrintf(self, 'run')
|
||||||
|
Loading…
Reference in New Issue
Block a user