projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.2.0 ***
[NeonServV5.git]
/
src
/
bot_NeonSpam.h
diff --git
a/src/bot_NeonSpam.h
b/src/bot_NeonSpam.h
index e3a32ef9884108a822480e33b603a1f86786fc28..30bd136ddc6a15cae349456710c63c3c621af7bb 100644
(file)
--- a/
src/bot_NeonSpam.h
+++ b/
src/bot_NeonSpam.h
@@
-1,4
+1,4
@@
-/* 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
* Copyright (C) 2011 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-118,11
+118,15
@@
struct NeonSpamSettings {
* are bigger than MAX_FLOOD_TIME * flood_amount
*/
* 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;
struct NeonSpamNode {
unsigned long lastmsg; //crc32 hash
unsigned char spamcount;
int floodpenalty;
time_t last_penalty_update;
+ unsigned char flags;
};
struct NeonSpamJoinNode {
};
struct NeonSpamJoinNode {