1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 23:43:13 +02:00

Fix spamfilter with tempshun action: was not blocking the message.

The tempshun was applied, but the 'trigger' message was let through.
Reported by armyn in https://bugs.unrealircd.org/view.php?id=5723
This commit is contained in:
Bram Matthys
2020-07-14 08:30:29 +02:00
parent ca6630a2fb
commit 70496acfbe
+1 -1
View File
@@ -4391,7 +4391,7 @@ int _place_host_ban(Client *client, BanAction action, char *reason, long duratio
client->user ? client->user->realhost : GetIP(client),
reason);
SetShunned(client);
break;
return 1;
case BAN_ACT_GZLINE:
case BAN_ACT_GLINE:
case BAN_ACT_SOFT_GLINE: