1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 17:53:14 +02:00

Fix RPC spamfilter.* (and tkl.*?) not going through fully net-wide

due to bogus sender.
[skip ci]
This commit is contained in:
Bram Matthys
2022-12-21 10:06:23 +01:00
parent cdd0e4116d
commit eab827688d
+4
View File
@@ -3756,6 +3756,10 @@ void tkl_broadcast_entry(int add, Client *sender, Client *skip, TKL *tkl)
{
Client *acptr;
/* Silly fix for RPC calls that lead to broadcasts from this sender */
if (!IsUser(sender) && !IsServer(sender))
sender = &me;
list_for_each_entry(acptr, &server_list, special_node)
{
if (skip && acptr == skip->direction)