summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-07 17:46:11 +0100
committermathieui <mathieui@mathieui.net>2012-03-07 17:46:11 +0100
commitb62940372fea8f8210bfc04448b2bc5938eef45e (patch)
tree2d73ed5d93a638a88dd006b0335ff705716ff6a9 /src
parent232bc999d80b5debe6af0b7fd411d16a3cc1e408 (diff)
downloadpoezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.gz
poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.bz2
poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.tar.xz
poezio-b62940372fea8f8210bfc04448b2bc5938eef45e.zip
Fixes #2340
Diffstat (limited to 'src')
-rw-r--r--src/core.py5
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()