mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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:
parent
803d805016
commit
1cd033943a
@ -19,9 +19,10 @@
|
||||
*/
|
||||
|
||||
#include "module.h"
|
||||
#include "modules.h"
|
||||
#include "modules-load.h"
|
||||
#include "args.h"
|
||||
#include "signals.h"
|
||||
#include "modules.h"
|
||||
#include "core.h"
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
@ -61,6 +62,8 @@ void noui_init(void)
|
||||
core_init();
|
||||
irc_init();
|
||||
|
||||
module_register("core", "fe-none");
|
||||
|
||||
signal_add("reload", (SIGNAL_FUNC) sig_reload);
|
||||
signal_add("gui exit", (SIGNAL_FUNC) sig_exit);
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "module.h"
|
||||
#include "modules.h"
|
||||
|
||||
void bot_irc_commands_deinit(void);
|
||||
void bot_irc_commands_init(void);
|
||||
@ -38,6 +39,8 @@ void irc_bot_init(void)
|
||||
bot_irc_commands_init();
|
||||
bot_events_init();
|
||||
botnet_init();
|
||||
|
||||
module_register("bot", "irc");
|
||||
}
|
||||
|
||||
void irc_bot_deinit(void)
|
||||
|
@ -23,11 +23,6 @@
|
||||
#include "settings.h"
|
||||
#include "levels.h"
|
||||
|
||||
void irc_proxy_deinit(void)
|
||||
{
|
||||
plugin_proxy_listen_deinit();
|
||||
}
|
||||
|
||||
void irc_proxy_init(void)
|
||||
{
|
||||
settings_add_str("irssiproxy", "irssiproxy_ports", "");
|
||||
@ -48,4 +43,10 @@ void irc_proxy_init(void)
|
||||
}
|
||||
|
||||
plugin_proxy_listen_init();
|
||||
module_register("proxy", "irc");
|
||||
}
|
||||
|
||||
void irc_proxy_deinit(void)
|
||||
{
|
||||
plugin_proxy_listen_deinit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user