diff options
author | mathieui <mathieui@mathieui.net> | 2012-03-07 17:46:11 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-03-07 17:46:11 +0100 |
commit | b62940372fea8f8210bfc04448b2bc5938eef45e (patch) | |
tree | 2d73ed5d93a638a88dd006b0335ff705716ff6a9 /src/core.py | |
parent | 232bc999d80b5debe6af0b7fd411d16a3cc1e408 (diff) | |
download | poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.gz poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.bz2 poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.xz poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.zip |
Fixes #2340
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py index 1ef6a556..bf2a25a7 100644 --- a/src/core.py +++ b/src/core.py @@ -1750,7 +1750,12 @@ class Core(object): password = args[1] if tab and tab.joined: # if we are already in the room self.focus_tab_named(tab.name) + if tab.own_nick == nick: + self.information('/join: Nothing to do.', 'Info') + else: + tab.command_nick(nick) return + if room.startswith('@'): room = room[1:] current_status = self.get_status() |