don't overwrite command_check_self()
This commit is contained in:
parent
9314b25a96
commit
6a823fac52
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue