summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-10 13:22:37 +0200
committermathieui <mathieui@mathieui.net>2012-05-10 13:22:37 +0200
commitc0c0b16218aca64785307a22114f0212b3758534 (patch)
tree1f5f4e84687a23f155d9919c6b8d03149a155b18
parentdfa8f33c67072162315662340fa7294a539e1fb0 (diff)
downloadpoezio-c0c0b16218aca64785307a22114f0212b3758534.tar.gz
poezio-c0c0b16218aca64785307a22114f0212b3758534.tar.bz2
poezio-c0c0b16218aca64785307a22114f0212b3758534.tar.xz
poezio-c0c0b16218aca64785307a22114f0212b3758534.zip
Fixes #2358
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index eecdaac2..a34c1a37 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -808,6 +808,7 @@ class MucTab(ChatTab):
/part [msg]
"""
arg = arg.strip()
+ msg = None
if self.joined:
self.disconnect()
muc.leave_groupchat(self.core.xmpp, self.name, self.own_nick, arg)