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 625b1e582d
commit 9f8d60cc83
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) 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", "Possible Flooder %s[%s@%s] on %s target: %s",
source_p->name, source_p->username, source_p->name, source_p->username,
source_p->orighost, 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) 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", "Possible Flooder %s[%s@%s] on %s target: %s",
source_p->name, source_p->username, source_p->name, source_p->username,
source_p->orighost, 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 */ /* Its already known as a possible spambot */
if(name != NULL) 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", "User %s (%s@%s) trying to join %s is a possible spambot",
source_p->name, source_p->name,
source_p->username, source_p->orighost, name); source_p->username, source_p->orighost, name);
else else
sendto_realops_snomask(SNO_BOTS, L_ALL, sendto_realops_snomask(SNO_BOTS, L_NETWIDE,
"User %s (%s@%s) is a possible spambot", "User %s (%s@%s) is a possible spambot",
source_p->name, source_p->name,
source_p->username, source_p->orighost); source_p->username, source_p->orighost);