Do not split on command_ignore as it is unnecessary
This commit is contained in:
parent
4ab6a591cf
commit
e934d8b513
1 changed files with 2 additions and 3 deletions
|
@ -984,11 +984,10 @@ class MucTab(ChatTab):
|
||||||
"""
|
"""
|
||||||
/ignore <nick>
|
/ignore <nick>
|
||||||
"""
|
"""
|
||||||
args = common.shell_split(arg)
|
if not arg:
|
||||||
if len(args) != 1:
|
|
||||||
self.core.command_help('ignore')
|
self.core.command_help('ignore')
|
||||||
return
|
return
|
||||||
nick = args[0]
|
nick = arg
|
||||||
user = self.get_user_by_name(nick)
|
user = self.get_user_by_name(nick)
|
||||||
if not user:
|
if not user:
|
||||||
self.core.information(_('%s is not in the room') % nick)
|
self.core.information(_('%s is not in the room') % nick)
|
||||||
|
|
Loading…
Reference in a new issue