# 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 --git a/bridge.py b/bridge.py --- a/bridge.py +++ b/bridge.py @@ -101,8 +101,8 @@ class bridge: 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):