Abuse filter parameter changed which caused crashes

(cherry picked from commit 2c43070ec3)
This commit is contained in:
Frisk 2018-11-14 22:24:55 +00:00
parent f2d20c6426
commit 967890310b

View file

@ -602,7 +602,7 @@ def first_pass(
old_groups=change["logparams"]["oldgroups"], new_groups=change["logparams"]["newgroups"])
elif combination == "abusefilter/modify":
webhook_formatter(combination, STATIC_VARS, user=change["user"], desc=parsedcomment,
filternr=change["logparams"]['1'])
filternr=change["logparams"]['newId'])
elif combination == "interwiki/iw_add":
webhook_formatter(combination, STATIC_VARS, user=change["user"], desc=parsedcomment,
prefix=change["logparams"]['0'], website=change["logparams"]['1'])