From 2ac09de148ab8c749f666218ba68d084affea43a Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 21 Feb 2026 13:11:48 +0100 Subject: [PATCH] Fix central spamfilter with "stop" action, due to using same &var twice. --- src/modules/tkl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/tkl.c b/src/modules/tkl.c index 6cd8d8478..7105582c1 100644 --- a/src/modules/tkl.c +++ b/src/modules/tkl.c @@ -5643,7 +5643,7 @@ int _match_spamfilter(Client *client, const char *str_in, int target, const char match_spamfilter_hit(client, str_in, str, target, cmd, destination, tkl, &winner_tkl, user_is_exempt_general, user_is_exempt_central, - &stop_processing_general_spamfilters, &stop_processing_general_spamfilters, + &stop_processing_general_spamfilters, &stop_processing_central_spamfilters, &content_revealed, 0); } @@ -5703,7 +5703,7 @@ int _match_spamfilter(Client *client, const char *str_in, int target, const char match_spamfilter_hit(client, str_in, str, target, cmd, destination, tkl, &winner_tkl, user_is_exempt_general, user_is_exempt_central, - &stop_processing_general_spamfilters, &stop_processing_general_spamfilters, + &stop_processing_general_spamfilters, &stop_processing_central_spamfilters, &content_revealed, 1); /* and continue (yes, always, no stopping on first match) */