summaryrefslogtreecommitdiffstats
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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/irc/flood/module.h b/src/irc/flood/module.h
new file mode 100644
index 0000000..a80c46f
--- /dev/null
+++ b/src/irc/flood/module.h
@@ -0,0 +1,13 @@
+#include <irssi/src/common.h>
+#include <irssi/src/irc/core/irc.h>
+
+typedef struct {
+ /* Flood protection */
+ GHashTable *floodlist;
+
+ /* Auto ignore list */
+ GSList *ignorelist;
+ time_t ignore_lastcheck;
+} MODULE_SERVER_REC;
+
+#define MODULE_NAME "irc/flood"