Fix #2861 (fix /ignore and /unignore (5/78))

This commit is contained in:
mathieui 2014-12-19 19:20:18 +01:00
parent a4858f9342
commit f0dac14e32
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -779,7 +779,7 @@ class MucTab(ChatTab):
"""
/ignore <nick>
"""
if arg is None:
if args is None:
return self.core.command_help('ignore')
nick = args[0]
@ -797,7 +797,7 @@ class MucTab(ChatTab):
"""
/unignore <nick>
"""
if arg is None:
if args is None:
return self.core.command_help('unignore')
nick = args[0]