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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user