From: Eric S. Raymond Date: Fri, 5 Oct 2012 19:58:15 +0000 (-0400) Subject: Reset status on server disconnect. X-Git-Tag: 1.8~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98d6fc1ce62e3707f13c79e505b7201710ae199e;p=irker.git Reset status on server disconnect. --- diff --git a/irkerd b/irkerd index 313ba40..1cb1c0f 100755 --- a/irkerd +++ b/irkerd @@ -141,6 +141,7 @@ class Connection: def handle_disconnect(self): "Server disconnected us for flooding or some other reason." self.connection = None + self.status = "disconnected" def handle_kick(self, outof): "We've been kicked." self.status = "handshaking"