bugfix trigger.args

This commit is contained in:
iou1name 2020-05-22 09:00:01 -04:00
parent 150c07c701
commit eb3b2b746b

View File

@ -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