aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index e466248a..8712c7f1 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -427,7 +427,7 @@ class Module(ModuleManager.BaseModule):
return "You do not have permission to do this"
@utils.hook("check.command.is-channel")
- def check_command_self(self, event):
+ def check_command_is_channel(self, event):
if event["is_channel"]:
return utils.consts.PERMISSION_FORCE_SUCCESS
else: