# HG changeset patch # User Charly COSTE # Date 1251484948 -7200 # Node ID d8941159fd44c665868d025d7828bc640282fc0c # Parent 0c00cf22492dd199adc9131672310e1bd03733d1 Fixed a little bug in bridge.py Signed-off-by: Charly COSTE diff -r 0c00cf22492d -r d8941159fd44 bridge.py --- a/bridge.py Fri Aug 28 13:40:13 2009 +0200 +++ b/bridge.py Fri Aug 28 20:42:28 2009 +0200 @@ -101,8 +101,8 @@ try: raise error except xmpp.muc.NicknameConflict: - self.bot.error('[Error] "'+self.nickname+'" is already used in the XMPP MUC or reserved on the XMPP server of bridge "'+str(self)+'"') - raise Exception('[Error] "'+self.nickname+'" is already used in the XMPP MUC or reserved on the XMPP server of bridge "'+str(self)+'"') + self.bot.error('[Error] "'+self.bot.nickname+'" is already used in the XMPP MUC or reserved on the XMPP server of bridge "'+str(self)+'"') + raise Exception('[Error] "'+self.bot.nickname+'" is already used in the XMPP MUC or reserved on the XMPP server of bridge "'+str(self)+'"') def addParticipant(self, protocol, nickname):