-/* bot_NeonSpam.h - NeonServ v5.1
+/* bot_NeonSpam.h - NeonServ v5.2
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* 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 {