changeset 59:0c00cf22492d

Fixed participant.changeNickname() Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Fri, 28 Aug 2009 13:40:13 +0200
parents 92341dbfb8b7
children d8941159fd44
files participant.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()