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
This commit is contained in:
Timo Sirainen 2001-08-14 00:41:59 +00:00 committed by cras
commit 803d805016
23 changed files with 642 additions and 228 deletions

View file

@ -139,6 +139,7 @@ void fe_irc_dcc_init(void)
command_bind("dcc list", NULL, (SIGNAL_FUNC) cmd_dcc_list);
theme_register(fecommon_irc_dcc_formats);
module_register("dcc", "fe-irc");
}
void fe_irc_dcc_deinit(void)

View file

@ -85,8 +85,10 @@ void fe_common_irc_init(void)
fe_netsplit_init();
fe_netjoin_init();
fe_irc_modules_init();
settings_check();
module_register("core", "fe-irc");
fe_irc_modules_init();
}
void fe_common_irc_deinit(void)

View file

@ -250,6 +250,8 @@ void fe_irc_notifylist_init(void)
signal_add("notifylist unidle", (SIGNAL_FUNC) notifylist_unidle);
command_set_options("notify", "list");
module_register("notifylist", "fe-irc");
}
void fe_irc_notifylist_deinit(void)