don't overwrite command_check_self()

This commit is contained in:
jesopo 2019-07-01 19:20:36 +01:00
parent 9314b25a96
commit 6a823fac52

View file

@ -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: