aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-01 19:20:36 +0100
committerGravatar jesopo2019-07-01 19:20:36 +0100
commit6a823fac52a2ffbfee5c1f50119a08ccc352b74f (patch)
treec80bf52cb64a3005ad9d27564911db0d6c88fa50
parentAdd depends-on hashflags for relay.py (diff)
signature
don't overwrite command_check_self()
-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: