summaryrefslogtreecommitdiff
path: root/src/irc/flood/flood.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-08-14 00:41:59 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-08-14 00:41:59 +0000
commit803d8050164eaaefdd52fd4ae967c1e038b3c571 (patch)
tree615ff88add7d3682beebed692f41f5135c799713 /src/irc/flood/flood.c
parentf584c1013c74a98bfb43b79280c4ee20b775970a (diff)
downloadirssi-803d8050164eaaefdd52fd4ae967c1e038b3c571.zip
Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module> [<submodule>], /UNLOAD <module> [<submodule>]. NOTE: all modules now need to call register_module() in their init() function. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/flood/flood.c')
-rw-r--r--src/irc/flood/flood.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index 5381b1cc..aa383554 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -309,6 +309,7 @@ void irc_flood_init(void)
signal_add("server disconnected", (SIGNAL_FUNC) flood_deinit_server);
autoignore_init();
+ module_register("flood", "irc");
}
void irc_flood_deinit(void)