Make the other notices to snomask +b network wide.

(with the exception of flooding on an &channel)
This commit is contained in:
Jilles Tjoelker 2007-12-24 22:43:47 +01:00
parent 153fc4bb29
commit f2c1b06bcf
2 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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);