Split correctly on command_groupremove

This commit is contained in:
mathieui 2012-04-18 00:18:18 +02:00
parent abd8d30990
commit 1fdb91a983

View file

@ -1855,7 +1855,7 @@ class RosterInfoTab(Tab):
"""
Remove the specified JID to the specified group
"""
args = args.split(None, 1)
args = common.shell_split(args)
if len(args) != 2:
return
jid = JID(args[0]).bare