From f2c1b06bcf0423e0175dbb9ced57e2554f8c3f46 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 96da9d2e..5ec761e8 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 c0fdcc3d..1d11ca5a 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);