From 0cb9a5a61f1ee01e1b9e2543393f0ee52580dfbc Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 10 Nov 2011 21:12:33 +0100 Subject: Fixes #2271 --- src/core.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/core.py b/src/core.py index 3ecf76f2..993b40ca 100644 --- a/src/core.py +++ b/src/core.py @@ -1378,7 +1378,12 @@ class Core(object): else: tab.own_nick = nick tab.users = [] - self.enable_private_tabs(room) + if tab and tab.joined: + self.enable_private_tabs(room) + tab.state = "normal" + if tab == self.current_tab(): + tab.refresh() + self.doupdate() def get_bookmark_nickname(self, room_name): """ -- cgit v1.2.3