X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fbot_NeonSpam.h;h=fbde1c2270cb2d1a7ad0bb0885c3520a45fa4022;hb=bb5692b9cbff069abbf9573c81e86c3cd2061ceb;hp=e3a32ef9884108a822480e33b603a1f86786fc28;hpb=ff6c5041af889bbc986199316daba8676b8e9cfd;p=NeonServV5.git diff --git a/src/bot_NeonSpam.h b/src/bot_NeonSpam.h index e3a32ef..fbde1c2 100644 --- a/src/bot_NeonSpam.h +++ b/src/bot_NeonSpam.h @@ -1,5 +1,5 @@ -/* bot_NeonSpam.h - NeonServ v5.1 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* bot_NeonSpam.h - NeonServ v5.3 + * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * 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 @@ -118,11 +118,15 @@ struct NeonSpamSettings { * 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 {