summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 30baf33a..d9e878cf 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -376,9 +376,8 @@ class MucTab(ChatTab):
self.core.refresh_window()
def command_cycle(self, arg):
- # TODO use the argument as the exit message
if self.get_room().joined:
- muc.leave_groupchat(self.core.xmpp, self.get_name(), self.get_room().own_nick, "")
+ muc.leave_groupchat(self.core.xmpp, self.get_name(), self.get_room().own_nick, arg)
self.get_room().joined = False
self.core.command_join('/')