From 08349495af2618de761e874d1daa149c390501bb Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 8 Nov 2011 22:03:33 +0100 Subject: Fix /kick with the optional message --- src/tabs.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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): """ -- cgit v1.2.3