From eb3b2b746b7ef27ef86c2201e4eae4ebe0b53029 Mon Sep 17 00:00:00 2001 From: iou1name Date: Fri, 22 May 2020 09:00:01 -0400 Subject: [PATCH] bugfix trigger.args --- modules/privilege.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/privilege.py b/modules/privilege.py index 76d9233..3fe7f16 100755 --- a/modules/privilege.py +++ b/modules/privilege.py @@ -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