Make the other notices to snomask +b network wide.
(with the exception of flooding on an &channel)
This commit is contained in:
parent
625b1e582d
commit
9f8d60cc83
|
@ -781,7 +781,7 @@ flood_attack_client(int p_or_n, struct Client *source_p, struct Client *target_p
|
|||
{
|
||||
if(target_p->localClient->flood_noticed == 0)
|
||||
{
|
||||
sendto_realops_snomask(SNO_BOTS, L_ALL,
|
||||
sendto_realops_snomask(SNO_BOTS, L_NETWIDE,
|
||||
"Possible Flooder %s[%s@%s] on %s target: %s",
|
||||
source_p->name, source_p->username,
|
||||
source_p->orighost,
|
||||
|
@ -836,7 +836,7 @@ flood_attack_channel(int p_or_n, struct Client *source_p, struct Channel *chptr,
|
|||
{
|
||||
if(chptr->flood_noticed == 0)
|
||||
{
|
||||
sendto_realops_snomask(SNO_BOTS, L_ALL,
|
||||
sendto_realops_snomask(SNO_BOTS, *chptr->chname == '&' ? L_ALL : L_NETWIDE,
|
||||
"Possible Flooder %s[%s@%s] on %s target: %s",
|
||||
source_p->name, source_p->username,
|
||||
source_p->orighost,
|
||||
|
|
|
@ -931,12 +931,12 @@ check_spambot_warning(struct Client *source_p, const char *name)
|
|||
{
|
||||
/* Its already known as a possible spambot */
|
||||
if(name != NULL)
|
||||
sendto_realops_snomask(SNO_BOTS, L_ALL,
|
||||
sendto_realops_snomask(SNO_BOTS, L_NETWIDE,
|
||||
"User %s (%s@%s) trying to join %s is a possible spambot",
|
||||
source_p->name,
|
||||
source_p->username, source_p->orighost, name);
|
||||
else
|
||||
sendto_realops_snomask(SNO_BOTS, L_ALL,
|
||||
sendto_realops_snomask(SNO_BOTS, L_NETWIDE,
|
||||
"User %s (%s@%s) is a possible spambot",
|
||||
source_p->name,
|
||||
source_p->username, source_p->orighost);
|
||||
|
|
Loading…
Reference in New Issue