* are bigger than MAX_FLOOD_TIME * flood_amount
*/
+#define NEONSPAMNODE_FLAG_CAPSSCAN_WARNED 0x01
+#define NEONSPAMNODE_FLAG_DIGITSCAN_WARNED 0x02
+
struct NeonSpamNode {
unsigned long lastmsg; //crc32 hash
unsigned char spamcount;
int floodpenalty;
time_t last_penalty_update;
+ unsigned char flags;
};
struct NeonSpamJoinNode {