]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/spamserv.h
Couple of srvx updates.
[irc/evilnet/x3.git] / src / spamserv.h
index dec787894ece0acf28fcccadf90cb290ba2a00d0..ab540f91e41329a5e603d3adf40c154ab86075bc 100644 (file)
@@ -3,7 +3,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.  Important limitations are
  * listed in the COPYING file that accompanies this software.
  *
 enum channelinfo
 {
     ci_SpamLimit = 0,
-    ci_AdvReaction = 4,
-    ci_WarnReaction = 3,
+    ci_AdvReaction = 1,
+    ci_WarnReaction = 2,
     ci_BadReaction = 3,
-    ci_CapsReaction = 3,
+    ci_CapsReaction = 4,
     ci_Max
 };
 
 #define CHAN_INFO_SIZE         (ci_Max + 1)
-#define CHAN_INFO_DEFAULT      "blsss"
+#define CHAN_INFO_DEFAULT      "blssss"
 
 #define CHAN_SPAMSCAN          0x00000001
 #define CHAN_CHANFLOODSCAN     0x00000002
 #define CHAN_JOINFLOOD         0x00000004
 #define CHAN_ADV_SCAN          0x00000008
-#define CHAN_SUSPENDED         0x00000080
-#define CHAN_BADWORDSCAN       0x00000100
-#define CHAN_CAPSSCAN          0x00000200
+#define CHAN_SUSPENDED         0x00000010
+#define CHAN_BADWORDSCAN       0x00000020
+#define CHAN_CAPSSCAN          0x00000040
 
 #define CHAN_FLAGS_DEFAULT     (CHAN_SPAMSCAN | CHAN_CHANFLOODSCAN | CHAN_JOINFLOOD)