diff irclib.py @ 14:1a1f2a0d35c7

Fixed bug that prevented the bot from connecting to freenode and all other servers that don't send "umode" Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Mon, 17 Aug 2009 13:20:25 +0200
parents 4b2faa511f01
children 32a35f7eff70
line wrap: on
line diff
--- a/irclib.py
+++ b/irclib.py
@@ -375,6 +375,7 @@ class ServerConnection(Connection):
     def __init__(self, irclibobj):
         Connection.__init__(self, irclibobj)
         self.connected = 0  # Not connected yet.
+        self.really_connected = False
         self.socket = None
         self.ssl = None
 
@@ -411,7 +412,7 @@ class ServerConnection(Connection):
         if self.connected:
             self.disconnect("Changing servers")
 
-        self.closing = False  # added for xib
+        self.closing = False
         self.previous_buffer = ""
         self.handlers = {}
         self.real_server_name = ""