diff bridge.py @ 113:6daf0854aa9f

added "--show-say-level" and "--show-participants" options to the "bridges" command, renamed {irc,xmpp}_participants commands Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 27 Nov 2009 23:45:47 +0100
parents a817ad05dd1d
children 787e97d62404
line wrap: on
line diff
--- a/bridge.py
+++ b/bridge.py
@@ -114,7 +114,7 @@ class bridge:
 	def _xmpp_join_callback(self, errors):
 		"""Called by muc._xmpp_presence_handler"""
 		if len(errors) == 0:
-			if hasattr(self, reconnecting):
+			if hasattr(self, 'reconnecting'):
 				del self.reconnecting
 			if self.mode == None:
 				return