# HG changeset patch # User Charly COSTE # Date 1263980973 -3600 # Node ID 12d564cd0203d9049491941354a8cf79609a6126 # Parent 6b91ca42df98e87ff454f49cfdee4bd6b676bb39 minor fix in irclib, always use exactly the same message when server hung up Signed-off-by: Charly COSTE diff --git a/irclib.py b/irclib.py --- a/irclib.py +++ b/irclib.py @@ -922,7 +922,7 @@ class ServerConnection(Connection): print "TO SERVER:", string except socket.error, x: # Ouch! - self.disconnect("Connection reset by peer.") + self.disconnect("Connection reset by peer") def squit(self, server, comment=""): """Send an SQUIT command.""" @@ -1142,7 +1142,7 @@ class DCCConnection(Connection): print "TO PEER: %s\n" % string except socket.error, x: # Ouch! - self.disconnect("Connection reset by peer.") + self.disconnect("Connection reset by peer") class Event: