summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-13 16:21:27 +0100
committermathieui <mathieui@mathieui.net>2011-11-13 16:21:27 +0100
commit23f5ee5e1152f3d568d351532ea967107e149758 (patch)
treec99edb9f387fd8402e3680eaf62a1d64617ce230
parent33f8efd77263368b7f83a27b7645196215700272 (diff)
downloadpoezio-23f5ee5e1152f3d568d351532ea967107e149758.tar.gz
poezio-23f5ee5e1152f3d568d351532ea967107e149758.tar.bz2
poezio-23f5ee5e1152f3d568d351532ea967107e149758.tar.xz
poezio-23f5ee5e1152f3d568d351532ea967107e149758.zip
Fix /kick with nicks with spaces in it
-rw-r--r--src/tabs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 15731b73..ec057459 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -706,10 +706,9 @@ class MucTab(ChatTab):
else:
if len(args) > 1:
msg = ' '+args[1]
- self.core.information("-%s-" % msg)
else:
msg = ''
- self.command_role(args[0]+ ' none'+msg)
+ self.command_role('"'+args[0]+ '" none'+msg)
def command_role(self, arg):
"""