summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)