aboutsummaryrefslogtreecommitdiff
path: root/modules/permissions
diff options
context:
space:
mode:
Diffstat (limited to 'modules/permissions')
-rw-r--r--modules/permissions/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/permissions/__init__.py b/modules/permissions/__init__.py
index 269f2a0f..6003c256 100644
--- a/modules/permissions/__init__.py
+++ b/modules/permissions/__init__.py
@@ -230,7 +230,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("preprocess.command")
def preprocess_command(self, event):
permission = event["hook"].get_kwarg("permission", None)
- authenticated = event["hook"].kwargs.get("authenticated", False)
+ authenticated = event["hook"].get_kwarg("authenticated", False)
return self._check_command(event, permission, authenticated)
@utils.hook("check.command.permission")