From 232bc999d80b5debe6af0b7fd411d16a3cc1e408 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 7 Mar 2012 17:36:40 +0100 Subject: Fixes #2341 (also for /server_cycle) --- src/core.py | 2 +- src/tabs.py | 2 +- 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): -- cgit v1.2.3