Fix /kick with nicks with spaces in it

This commit is contained in:
mathieui 2011-11-13 16:21:27 +01:00
parent 33f8efd772
commit 23f5ee5e11

View file

@ -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):
"""