diff options
| author | 2019-07-01 19:20:36 +0100 | |
|---|---|---|
| committer | 2019-07-01 19:20:36 +0100 | |
| commit | 6a823fac52a2ffbfee5c1f50119a08ccc352b74f (patch) | |
| tree | c80bf52cb64a3005ad9d27564911db0d6c88fa50 /modules/commands | |
| parent | Add depends-on hashflags for relay.py (diff) | |
| signature | ||
don't overwrite command_check_self()
Diffstat (limited to 'modules/commands')
| -rw-r--r-- | modules/commands/__init__.py | 2 |
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: |
