summaryrefslogtreecommitdiff
path: root/src/fe-none
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-21 09:25:29 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-21 09:25:29 +0000
commita5142ec3113a44ee8253a3c314c7c5246eb9d273 (patch)
treea1f3f514d4eacc0aa02dc3d41741bce18ac4deda /src/fe-none
parente5abcdb76c17b9b64085d3e2a041c0ae1c2d6af7 (diff)
downloadirssi-a5142ec3113a44ee8253a3c314c7c5246eb9d273.zip
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
Diffstat (limited to 'src/fe-none')
-rw-r--r--src/fe-none/irssi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-none/irssi.c b/src/fe-none/irssi.c
index 2922a00c..eee24365 100644
--- a/src/fe-none/irssi.c
+++ b/src/fe-none/irssi.c
@@ -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)