mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
f584c1013c
commit
803d805016
23 changed files with 642 additions and 228 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue