changed/fixed NeonSpam kick/warn notices
authorpk910 <philipp@zoelle1.de>
Thu, 20 Oct 2011 13:14:29 +0000 (15:14 +0200)
committerpk910 <philipp@zoelle1.de>
Thu, 20 Oct 2011 13:14:29 +0000 (15:14 +0200)
src/event_neonspam_chanmsg.c

index 5383791719080a2d3d9ad046afc7e17e3724ef14..13e849b541930686ec980c7cfafee61fd9538bac 100644 (file)
@@ -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;