diff irclib.py @ 64:8fc496eaa17b

Handle IRC "nickcollision" event Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 30 Aug 2009 01:18:34 +0200
parents 71508f22edb4
children 75604669fcd9
line wrap: on
line diff
--- a/irclib.py
+++ b/irclib.py
@@ -494,7 +494,7 @@ class ServerConnection(Connection):
         self.nick_callbacks.append(callback)
 
 
-    def close(self, message, volontary=False):
+    def close(self, message, volontary=True):
         """Close the connection.
 
         This method closes the connection permanently; after it has