comparison 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
comparison
equal deleted inserted replaced
112:a817ad05dd1d 113:6daf0854aa9f
112 112
113 113
114 def _xmpp_join_callback(self, errors): 114 def _xmpp_join_callback(self, errors):
115 """Called by muc._xmpp_presence_handler""" 115 """Called by muc._xmpp_presence_handler"""
116 if len(errors) == 0: 116 if len(errors) == 0:
117 if hasattr(self, reconnecting): 117 if hasattr(self, 'reconnecting'):
118 del self.reconnecting 118 del self.reconnecting
119 if self.mode == None: 119 if self.mode == None:
120 return 120 return
121 self.bot.error('===> Debug: succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True) 121 self.bot.error('===> Debug: succesfully connected on XMPP side of bridge "'+str(self)+'"', debug=True)
122 self.say('[Notice] bridge "'+str(self)+'" is running in '+self.mode+' mode', on_irc=False) 122 self.say('[Notice] bridge "'+str(self)+'" is running in '+self.mode+' mode', on_irc=False)