From 98b7529605d74fb637e5b2090c9e75ded0e45352 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 21 Feb 2020 11:44:29 +0000 Subject: [PATCH] security issue: 'permissions'->'permission' (message_filters.py) --- modules/message_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/message_filter.py b/modules/message_filter.py index a79a44a1..a6191a66 100644 --- a/modules/message_filter.py +++ b/modules/message_filter.py @@ -48,7 +48,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.command.filter") @utils.hook("received.command.bfilter") @utils.kwarg("help", "Add a message filter for the current channel") - @utils.kwarg("permissions", "cfilter") + @utils.kwarg("permission", "cfilter") @utils.spec("!'list ?int") @utils.spec("!'add ?string|string") @utils.spec("!'remove !int")