From ba581d8622a398595947ab13e18e65c21c26f5bc Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 1 Jul 2019 19:23:39 +0100 Subject: [PATCH] 'in_args' -> 'min_args' --- modules/ignore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ignore.py b/modules/ignore.py index d2dd8693..53c2d633 100644 --- a/modules/ignore.py +++ b/modules/ignore.py @@ -70,7 +70,7 @@ class Module(ModuleManager.BaseModule): event["stdout"].write("Removed ignore for '%s'%s" % (user.nickname, for_str)) - @utils.hook("received.command.serverignore", in_args=1) + @utils.hook("received.command.serverignore", min_args=1) def server_ignore(self, event): """ :permission: server-ignore @@ -86,7 +86,7 @@ class Module(ModuleManager.BaseModule): event["stdout"].write("Now ignoring '%s' for %s" % (command, str(event["server"]))) - @utils.hook("received.command.serverunignore", in_args=1) + @utils.hook("received.command.serverunignore", min_args=1) def server_unignore(self, event): """ :permission: server-unignore