From 8987b91845e6e316dec3a38ef993ed53f3e19274 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 7 Aug 2017 16:50:04 -0700 Subject: [PATCH] opercmds: fix --force-kb check on masskill --- plugins/opercmds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/opercmds.py b/plugins/opercmds.py index 90d413c..dc3268e 100644 --- a/plugins/opercmds.py +++ b/plugins/opercmds.py @@ -195,10 +195,11 @@ def masskill(irc, source, args, use_regex=False): 'networks' plugin and adjust your banmasks accordingly.""" permissions.check_permissions(irc, source, ['opercmds.masskill']) + args = masskill_parser.parse_args(args) + if args.force_kb: permissions.check_permissions(irc, source, ['opercmds.masskill.force']) - args = masskill_parser.parse_args(args) reason = ' '.join(args.reason) results = killed = 0