From 60388686a5f1fcc67638a139b4194eb6afe909e4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 9 May 2013 22:29:26 +0200 Subject: Fix the exit message --- src/core.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/core.py b/src/core.py index 0c2a93d0..ea927af4 100644 --- a/src/core.py +++ b/src/core.py @@ -616,6 +616,9 @@ class Core(object): parts of the client (for example, set the MucTabs as not joined, etc) """ msg = msg or '' + for tab in self.tabs: + if isinstance(tab, tabs.MucTab): + tab.command_part(msg) self.xmpp.disconnect() if reconnect: self.xmpp.start() -- cgit v1.2.3