Fixed a bug in the nick command

This commit is contained in:
red-agent 2009-09-15 22:59:48 +03:00
parent 10a0867e59
commit 6630d88c08
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class GroupChatCommands(CommonCommands):
except Exception:
raise CommandError(_("Invalid nickname"))
self.connection.join_gc(new_nick, self.room_jid, None, change_nick=True)
self.new_nick = new_nick
@command('query', raw=True)
def chat(self, nick):