# HG changeset patch # User Charly COSTE # Date 1251459613 -7200 # Node ID 0c00cf22492dd199adc9131672310e1bd03733d1 # Parent 92341dbfb8b7aeff05a44d2887c7e448d0e25c9f Fixed participant.changeNickname() Signed-off-by: Charly COSTE diff --git a/participant.py b/participant.py --- a/participant.py +++ b/participant.py @@ -124,7 +124,7 @@ class participant: self.nickname = newnick if self.muc != None: self.bridge.bot.xmpp_connections[newnick] = self.xmpp_c - self.bridge.bot.close_xmpp_connection(oldnick) + self.bridge.bot.xmpp_connections.pop(oldnick) self.muc.change_nick(newnick, status='From IRC', callback=self._xmpp_join_callback) else: self.createDuplicateOnXMPP()