summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-07 18:07:29 +0100
committermathieui <mathieui@mathieui.net>2012-03-07 18:07:29 +0100
commit0e18a7bc0550e339fc5b1de244363165dbc04183 (patch)
treeed690355a5de37732bf1dc4d21399a7305157a4a /src/core.py
parentb62940372fea8f8210bfc04448b2bc5938eef45e (diff)
downloadpoezio-0e18a7bc0550e339fc5b1de244363165dbc04183.tar.gz
poezio-0e18a7bc0550e339fc5b1de244363165dbc04183.tar.bz2
poezio-0e18a7bc0550e339fc5b1de244363165dbc04183.tar.xz
poezio-0e18a7bc0550e339fc5b1de244363165dbc04183.zip
Fix the behaviour of /join
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index bf2a25a7..8a4fc7de 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1753,7 +1753,8 @@ class Core(object):
if tab.own_nick == nick:
self.information('/join: Nothing to do.', 'Info')
else:
- tab.command_nick(nick)
+ tab.own_nick = nick
+ tab.command_cycle('')
return
if room.startswith('@'):