Fix the behaviour of /join

This commit is contained in:
mathieui 2012-03-07 18:07:29 +01:00
parent b62940372f
commit 0e18a7bc05

View file

@ -1753,7 +1753,8 @@ class Core(object):
if tab.own_nick == nick: if tab.own_nick == nick:
self.information('/join: Nothing to do.', 'Info') self.information('/join: Nothing to do.', 'Info')
else: else:
tab.command_nick(nick) tab.own_nick = nick
tab.command_cycle('')
return return
if room.startswith('@'): if room.startswith('@'):