bugfix trigger.args
This commit is contained in:
parent
150c07c701
commit
eb3b2b746b
|
@ -12,7 +12,7 @@ def check_privilege(bot, trigger):
|
|||
"""
|
||||
Checks the user's privilege.
|
||||
"""
|
||||
if len(trigger.args) < 2:
|
||||
if len(trigger.args) > 1:
|
||||
nick = trigger.args[1]
|
||||
else:
|
||||
nick = trigger.nick
|
||||
|
|
Loading…
Reference in New Issue
Block a user