From 6a823fac52a2ffbfee5c1f50119a08ccc352b74f Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 1 Jul 2019 19:20:36 +0100 Subject: don't overwrite command_check_self() --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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: -- cgit v1.3.1-10-gc9f91