diff bridge.py @ 101:29d3b85c6286

Minor fixes/improvements Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 20 Nov 2009 15:30:07 +0100
parents 6289ac5a2db7
children b3eba9489329
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -86,7 +86,7 @@ class bridge:
 			self.say('[Notice] bridge "'+str(self)+'" is running in '+self.mode+' mode', on_xmpp=False)
 		else:
 			self.mode = None
-			if self.muc.connected == True:
+			if self.xmpp_room.connected == True:
 				self.say('[Error] failed to connect to the IRC chan, leaving ...', on_irc=False)
 			try:
 				if error == 'nicknameinuse':