summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2011-01-04 03:08:44 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2011-01-04 03:08:44 +0000
commit81e71fee30839b1b9ce3688d093a68ab03e600cd (patch)
tree89106282624b848aa8a3df7258ae59d1360fc368 /src
parentea7fe6bb966c59a38ce7079475daf6f155fafb18 (diff)
downloadpoezio-81e71fee30839b1b9ce3688d093a68ab03e600cd.tar.gz
poezio-81e71fee30839b1b9ce3688d093a68ab03e600cd.tar.bz2
poezio-81e71fee30839b1b9ce3688d093a68ab03e600cd.tar.xz
poezio-81e71fee30839b1b9ce3688d093a68ab03e600cd.zip
use the argument of /cycle as the part message
Diffstat (limited to 'src')
-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('/')