From 2c43070ec3a379ef421f9f9b883361127bf3dcbc Mon Sep 17 00:00:00 2001 From: Frisk Date: Wed, 14 Nov 2018 23:24:55 +0100 Subject: [PATCH] Abuse filter parameter changed which caused crashes --- rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcgcdw.py b/rcgcdw.py index 39d9678..bc9e6b6 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -613,7 +613,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'])