projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65516d9
)
Reset status on server disconnect.
author
Eric S. Raymond
<esr@thyrsus.com>
Fri, 5 Oct 2012 19:58:15 +0000
(15:58 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 5 Oct 2012 19:58:15 +0000
(15:58 -0400)
irkerd
patch
|
blob
|
history
diff --git
a/irkerd
b/irkerd
index 313ba40af1d52be356c90f32f15ac9265f633520..1cb1c0f9a84d96b264bb9c8ad9f15f4b7c92c46d 100755
(executable)
--- 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"