From 8ecb4f7a04ff512b83d87d9c05f1e9252c603e96 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 20 Oct 2011 15:14:29 +0200 Subject: [PATCH] changed/fixed NeonSpam kick/warn notices --- src/event_neonspam_chanmsg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event_neonspam_chanmsg.c b/src/event_neonspam_chanmsg.c index 5383791..13e849b 100644 --- a/src/event_neonspam_chanmsg.c +++ b/src/event_neonspam_chanmsg.c @@ -23,7 +23,7 @@ #define SPAMSERV_MSG_FLOOD "Flooding the channel/network" #define SPAMSERV_MSG_ADV "Advertising" #define SPAMSERV_MSG_JOINFLOOD "Join flooding the channel" -#define SPAMSERV_MSG_WARNING "%s is against the network rules" +#define SPAMSERV_MSG_WARNING "%s is against the channel rules" static int neonspam_spamscan(struct NeonSpamSettings *settings, struct ChanUser *chanuser, char *message); static int neonspam_floodscan(struct NeonSpamSettings *settings, struct ChanUser *chanuser); @@ -85,13 +85,13 @@ static void neonspam_event_chanmsg(struct UserNode *user, struct ChanNode *chan, case SPAMSERV_CHECK_WARN: if(action == SPAMSERV_CHECK_IGNORE) { action = result; - sprintf(reason, SPAMSERV_MSG_WARNING, SPAMSERV_MSG_SPAM); + sprintf(reason, SPAMSERV_MSG_WARNING, SPAMSERV_MSG_FLOOD); } break; case SPAMSERV_CHECK_PUNISH: if(action != SPAMSERV_CHECK_PUNISH) { action = result; - sprintf(reason, SPAMSERV_MSG_WARNING, SPAMSERV_MSG_SPAM); + sprintf(reason, SPAMSERV_MSG_WARNING, SPAMSERV_MSG_FLOOD); reaction = "channel_floodreaction"; } break; -- 2.20.1