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
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

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: