summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-05-09 22:29:26 +0200
committermathieui <mathieui@mathieui.net>2013-05-09 22:29:26 +0200
commit60388686a5f1fcc67638a139b4194eb6afe909e4 (patch)
tree1bbc7b65f1e1abcc6d1abbab5e2e665a102d44ab /src/core.py
parentffe33c5da3d66795890868796befb9fd936d1ab3 (diff)
downloadpoezio-60388686a5f1fcc67638a139b4194eb6afe909e4.tar.gz
poezio-60388686a5f1fcc67638a139b4194eb6afe909e4.tar.bz2
poezio-60388686a5f1fcc67638a139b4194eb6afe909e4.tar.xz
poezio-60388686a5f1fcc67638a139b4194eb6afe909e4.zip
Fix the exit message
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 3 insertions, 0 deletions
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()