From 967890310b1f7fb21ad29b529527bacda16c00dc Mon Sep 17 00:00:00 2001 From: Frisk Date: Wed, 14 Nov 2018 22:24:55 +0000 Subject: [PATCH] Abuse filter parameter changed which caused crashes (cherry picked from commit 2c43070ec3a379ef421f9f9b883361127bf3dcbc) --- rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcgcdw.py b/rcgcdw.py index 202d618..9323d8e 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -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'])