From 9f8d60cc83ad38f819e44b84e3a5dd29f3c1b23a Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 24 Dec 2007 22:43:47 +0100 Subject: [PATCH] Make the other notices to snomask +b network wide. (with the exception of flooding on an &channel) --- modules/core/m_message.c | 4 ++-- src/channel.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 96da9d2..5ec761e 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -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, diff --git a/src/channel.c b/src/channel.c index c0fdcc3..1d11ca5 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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);