1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Fix central spamfilter with "stop" action, due to using same &var twice.

This commit is contained in:
Bram Matthys
2026-02-21 13:11:48 +01:00
parent 6130c1b5ae
commit 2ac09de148
+2 -2
View File
@@ -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) */