summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-10-27 21:20:26 +0200
committermathieui <mathieui@mathieui.net>2011-10-27 21:20:26 +0200
commit6d436f570ae186a472fe0d743cef7339e0c16d5d (patch)
tree5a63267271e9ab58ef4d8304014c235d30e42c52
parenta8b3909fde3645074a04dd9a61ac3b870d7838ee (diff)
downloadpoezio-6d436f570ae186a472fe0d743cef7339e0c16d5d.tar.gz
poezio-6d436f570ae186a472fe0d743cef7339e0c16d5d.tar.bz2
poezio-6d436f570ae186a472fe0d743cef7339e0c16d5d.tar.xz
poezio-6d436f570ae186a472fe0d743cef7339e0c16d5d.zip
Fixed a TB on /kick
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index cd9450a7..8c4e8717 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -628,7 +628,8 @@ class MucTab(ChatTab):
args = common.shell_split(arg)
if not len(args):
self.core.command_help('kick')
- self._command_change_role('kick '+arg)
+ else:
+ self.command_role('none '+arg)
def command_role(self, arg):
"""