Typo in modules/check_mode.py; 'required_mode' -> 'require_mode'
This commit is contained in:
parent
416d744291
commit
a879125883
1 changed files with 1 additions and 1 deletions
|
@ -7,5 +7,5 @@ class Module(ModuleManager.BaseModule):
|
|||
require_mode = event["hook"].get_kwarg("require_mode")
|
||||
if event["is_channel"] and require_mode:
|
||||
if not event["target"].mode_or_above(event["user"],
|
||||
required_mode):
|
||||
require_mode):
|
||||
return "You do not have permission to do this"
|
||||
|
|
Loading…
Reference in a new issue