mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-23 18:54:05 +01:00
opercmds: fix --force-kb check on masskill
This commit is contained in:
parent
dd1444dcd9
commit
8987b91845
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user