Skip to content
Snippets Groups Projects
Commit 98d6fc1c authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Reset status on server disconnect.

parent 65516d9a
Branches
No related tags found
No related merge requests found
...@@ -141,6 +141,7 @@ class Connection: ...@@ -141,6 +141,7 @@ class Connection:
def handle_disconnect(self): def handle_disconnect(self):
"Server disconnected us for flooding or some other reason." "Server disconnected us for flooding or some other reason."
self.connection = None self.connection = None
self.status = "disconnected"
def handle_kick(self, outof): def handle_kick(self, outof):
"We've been kicked." "We've been kicked."
self.status = "handshaking" self.status = "handshaking"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment