1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Added missing module_register() calls.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1749 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-14 00:43:50 +00:00 committed by cras
parent 803d805016
commit 1cd033943a
3 changed files with 13 additions and 6 deletions

View File

@ -19,9 +19,10 @@
*/ */
#include "module.h" #include "module.h"
#include "modules.h"
#include "modules-load.h"
#include "args.h" #include "args.h"
#include "signals.h" #include "signals.h"
#include "modules.h"
#include "core.h" #include "core.h"
#ifdef HAVE_STATIC_PERL #ifdef HAVE_STATIC_PERL
@ -61,6 +62,8 @@ void noui_init(void)
core_init(); core_init();
irc_init(); irc_init();
module_register("core", "fe-none");
signal_add("reload", (SIGNAL_FUNC) sig_reload); signal_add("reload", (SIGNAL_FUNC) sig_reload);
signal_add("gui exit", (SIGNAL_FUNC) sig_exit); signal_add("gui exit", (SIGNAL_FUNC) sig_exit);

View File

@ -19,6 +19,7 @@
*/ */
#include "module.h" #include "module.h"
#include "modules.h"
void bot_irc_commands_deinit(void); void bot_irc_commands_deinit(void);
void bot_irc_commands_init(void); void bot_irc_commands_init(void);
@ -38,6 +39,8 @@ void irc_bot_init(void)
bot_irc_commands_init(); bot_irc_commands_init();
bot_events_init(); bot_events_init();
botnet_init(); botnet_init();
module_register("bot", "irc");
} }
void irc_bot_deinit(void) void irc_bot_deinit(void)

View File

@ -23,11 +23,6 @@
#include "settings.h" #include "settings.h"
#include "levels.h" #include "levels.h"
void irc_proxy_deinit(void)
{
plugin_proxy_listen_deinit();
}
void irc_proxy_init(void) void irc_proxy_init(void)
{ {
settings_add_str("irssiproxy", "irssiproxy_ports", ""); settings_add_str("irssiproxy", "irssiproxy_ports", "");
@ -48,4 +43,10 @@ void irc_proxy_init(void)
} }
plugin_proxy_listen_init(); plugin_proxy_listen_init();
module_register("proxy", "irc");
}
void irc_proxy_deinit(void)
{
plugin_proxy_listen_deinit();
} }