security issue: 'permissions'->'permission' (message_filters.py)

This commit is contained in:
jesopo 2020-02-21 11:44:29 +00:00
parent 7b7a67bc45
commit 98b7529605

View file

@ -48,7 +48,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.command.filter") @utils.hook("received.command.filter")
@utils.hook("received.command.bfilter") @utils.hook("received.command.bfilter")
@utils.kwarg("help", "Add a message filter for the current channel") @utils.kwarg("help", "Add a message filter for the current channel")
@utils.kwarg("permissions", "cfilter") @utils.kwarg("permission", "cfilter")
@utils.spec("!'list ?<index>int") @utils.spec("!'list ?<index>int")
@utils.spec("!'add ?<m/pattern/>string|<s/pattern/replace/>string") @utils.spec("!'add ?<m/pattern/>string|<s/pattern/replace/>string")
@utils.spec("!'remove !<index>int") @utils.spec("!'remove !<index>int")