summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-03-07 17:36:40 +0100
committermathieui <mathieui@mathieui.net>2012-03-07 17:36:40 +0100
commit232bc999d80b5debe6af0b7fd411d16a3cc1e408 (patch)
tree2a034b4789c83cc785bb0b6fcd22c3a7950d1413
parent513ff094e3388b363e666e438be2d6db76b4542b (diff)
downloadpoezio-232bc999d80b5debe6af0b7fd411d16a3cc1e408.tar.gz
poezio-232bc999d80b5debe6af0b7fd411d16a3cc1e408.tar.bz2
poezio-232bc999d80b5debe6af0b7fd411d16a3cc1e408.tar.xz
poezio-232bc999d80b5debe6af0b7fd411d16a3cc1e408.zip
Fixes #2341 (also for /server_cycle)
-rw-r--r--src/core.py2
-rw-r--r--src/tabs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 96cc1454..1ef6a556 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1989,7 +1989,7 @@ class Core(object):
if tab.joined:
muc.leave_groupchat(tab.core.xmpp, tab.get_name(), tab.own_nick, message)
tab.joined = False
- self.command_join(tab.get_name())
+ self.command_join('%s/%s' %(tab.get_name(), tab.own_nick))
def command_bind(self, arg):
"""
diff --git a/src/tabs.py b/src/tabs.py
index 3db2e9f7..6cf13b96 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -730,7 +730,7 @@ class MucTab(ChatTab):
muc.leave_groupchat(self.core.xmpp, self.get_name(), self.own_nick, arg)
self.disconnect()
self.core.disable_private_tabs(self.name)
- self.core.command_join('"/%s"' % self.core.get_bookmark_nickname(self.name), '0')
+ self.core.command_join('"/%s"' % self.own_nick)
self.user_win.pos = 0
def command_recolor(self, arg):