summaryrefslogtreecommitdiff
path: root/src/irc/flood/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/flood/module.h')
-rw-r--r--src/irc/flood/module.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/irc/flood/module.h b/src/irc/flood/module.h
new file mode 100644
index 00000000..9abdbf41
--- /dev/null
+++ b/src/irc/flood/module.h
@@ -0,0 +1,12 @@
+#include "common.h"
+
+typedef struct {
+ /* Flood protection */
+ GHashTable *floodlist;
+
+ /* Auto ignore list */
+ GSList *ignorelist;
+ time_t ignore_lastcheck;
+} MODULE_SERVER_REC;
+
+#define MODULE_NAME "irc/flood"