'require-mode'/'require-access' -> 'require_mode'/'require_access'

closes #161
This commit is contained in:
jesopo 2019-09-26 12:15:14 +01:00
parent 2e80b223de
commit 3c1a313ef2

View file

@ -96,8 +96,8 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("min_args", 1) @utils.kwarg("min_args", 1)
@utils.kwarg("usage", "<nickname>") @utils.kwarg("usage", "<nickname>")
@utils.kwarg("permission", "cignore") @utils.kwarg("permission", "cignore")
@utils.kwarg("require-mode", "o") @utils.kwarg("require_mode", "o")
@utils.kwarg("require-access", "cignore") @utils.kwarg("require_access", "cignore")
def cignore(self, event): def cignore(self, event):
remove = event["command"] == "cunignore" remove = event["command"] == "cunignore"