mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Initialize perl before fe_common_core_finish_init() or sending "irssi init
finished". This way if /LOAD perl is in startup-file we don't load it twice. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1870 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e5abcdb76c
commit
a5142ec311
@ -67,11 +67,11 @@ void noui_init(void)
|
|||||||
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);
|
||||||
|
|
||||||
signal_emit("irssi init finished", 0);
|
|
||||||
|
|
||||||
#ifdef HAVE_STATIC_PERL
|
#ifdef HAVE_STATIC_PERL
|
||||||
perl_core_init();
|
perl_core_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
signal_emit("irssi init finished", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void noui_deinit(void)
|
void noui_deinit(void)
|
||||||
|
@ -135,15 +135,15 @@ static void textui_finish_init(void)
|
|||||||
settings_check();
|
settings_check();
|
||||||
module_register("core", "fe-text");
|
module_register("core", "fe-text");
|
||||||
|
|
||||||
fe_common_core_finish_init();
|
|
||||||
|
|
||||||
signal_emit("irssi init finished", 0);
|
|
||||||
|
|
||||||
#ifdef HAVE_STATIC_PERL
|
#ifdef HAVE_STATIC_PERL
|
||||||
perl_core_init();
|
perl_core_init();
|
||||||
fe_perl_init();
|
fe_perl_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
fe_common_core_finish_init();
|
||||||
|
|
||||||
|
signal_emit("irssi init finished", 0);
|
||||||
|
|
||||||
if (display_firsttimer) {
|
if (display_firsttimer) {
|
||||||
printtext_window(active_win, MSGLEVEL_CLIENTNOTICE,
|
printtext_window(active_win, MSGLEVEL_CLIENTNOTICE,
|
||||||
"%s", firsttimer_text);
|
"%s", firsttimer_text);
|
||||||
|
Loading…
Reference in New Issue
Block a user