From 578bc116e0d49744a381d5a9ea509478258a2d17 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 13 Dec 2012 04:29:16 -0600 Subject: [PATCH] Don't send private filter hits to IRC/UDP Change-Id: I433aa0d92f7bf805ea27eaf235909065e4d478a7 --- AbuseFilter.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php index 8999d82e1..aadba2ed5 100644 --- a/AbuseFilter.class.php +++ b/AbuseFilter.class.php @@ -924,6 +924,9 @@ class AbuseFilter { 'actions' => $data['afl_actions'], 'log' => $data['afl_id'], ) ); + if ( filterHidden( $data['afl_filter'] ) ) { + continue; + } $entry->publish( 0, $wgAbuseFilterNotifications ); } }