diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-08 22:03:33 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-08 22:03:33 +0100 |
commit | 08349495af2618de761e874d1daa149c390501bb (patch) | |
tree | a50b1e045aa90d63c76c88ef636fb8259986dcea /src/tabs.py | |
parent | 131404defaf0403f1d8e5f586cccd492331f31f2 (diff) | |
download | poezio-08349495af2618de761e874d1daa149c390501bb.tar.gz poezio-08349495af2618de761e874d1daa149c390501bb.tar.bz2 poezio-08349495af2618de761e874d1daa149c390501bb.tar.xz poezio-08349495af2618de761e874d1daa149c390501bb.zip |
Fix /kick with the optional message
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py index 5d7f2286..2f708ca8 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -658,7 +658,12 @@ class MucTab(ChatTab): if not len(args): self.core.command_help('kick') else: - self.command_role(arg+ ' none') + if len(args) > 1: + msg = ' '+args[1] + self.core.information("-%s-" % msg) + else: + msg = '' + self.command_role(args[0]+ ' none'+msg) def command_role(self, arg): """ |