Commit cc314169 authored by Yann Leboulanger's avatar Yann Leboulanger

fix /nick command in groupchats

parent d5402adb
......@@ -868,7 +868,7 @@ class GroupchatControl(ChatControlBase):
'reason': reason }
self.print_conversation(s, 'info')
elif '303' in statusCode: # Someone changed his or her nick
if nick == self.new_nick: # We changed our nick
if new_nick == self.new_nick: # We changed our nick
self.nick = self.new_nick
self.new_nick = ''
s = _('You are now known as %s') % new_nick
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment