1
0
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:
Timo Sirainen 2001-10-21 09:25:29 +00:00 committed by cras
parent e5abcdb76c
commit a5142ec311
2 changed files with 6 additions and 6 deletions

View File

@ -67,11 +67,11 @@ void noui_init(void)
signal_add("reload", (SIGNAL_FUNC) sig_reload);
signal_add("gui exit", (SIGNAL_FUNC) sig_exit);
signal_emit("irssi init finished", 0);
#ifdef HAVE_STATIC_PERL
perl_core_init();
#endif
signal_emit("irssi init finished", 0);
}
void noui_deinit(void)

View File

@ -135,15 +135,15 @@ static void textui_finish_init(void)
settings_check();
module_register("core", "fe-text");
fe_common_core_finish_init();
signal_emit("irssi init finished", 0);
#ifdef HAVE_STATIC_PERL
perl_core_init();
fe_perl_init();
#endif
fe_common_core_finish_init();
signal_emit("irssi init finished", 0);
if (display_firsttimer) {
printtext_window(active_win, MSGLEVEL_CLIENTNOTICE,
"%s", firsttimer_text);