#include "event.h"
#include "patricia.h"
#include "s_newconf.h"
+#include "s_stats.h"
static int m_message(int, const char *, struct Client *, struct Client *, int, const char **);
static int m_privmsg(struct Client *, struct Client *, int, const char **);
/* cant clear any, full target list */
else if(USED_TARGETS(source_p) == 10)
{
+ ServerStats->is_tgch++;
add_tgchange(source_p->sockhost);
return 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",
source_p->name, source_p->username,
source_p->orighost,
{
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,