X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/a674c5d33a698cd37bc7ad5464239782c7de6b62..92fb809beb2963a5b331a59e589430c989c9cbde:/src/spamserv.h diff --git a/src/spamserv.h b/src/spamserv.h index dec7878..ab540f9 100644 --- a/src/spamserv.h +++ b/src/spamserv.h @@ -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. * @@ -34,23 +34,23 @@ 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)