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