diff bot.py @ 90:965dd6f5fcc3

Tried to improve XMPP disconnections handling Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Sun, 20 Sep 2009 11:56:03 +0200
parents 8b071629558e
children 69e4fc0f015c
line wrap: on
line diff
--- a/bot.py
+++ b/bot.py
@@ -560,6 +560,7 @@ class bot(Thread):
 		self.xmpp_connections[nickname] = c
 		c.used_by = 1
 		c.nickname = nickname
+		c.mucs = []
 		c.pings = []
 		c.connect()
 		c.auth(self.bare_jid.getNode(), self.password)