diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-17 10:35:35 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-17 10:35:35 +0000 |
commit | abe4ddb52ab32cb7e6aaee98a25e93f769a3aa46 (patch) | |
tree | 18f744255342648f9443de36e5b1eee098c9abe2 /src/fe-text/irssi.c | |
parent | f1205c10e0d6ef29065c96d788c35c4e23ed4860 (diff) | |
download | irssi-abe4ddb52ab32cb7e6aaee98a25e93f769a3aa46.zip |
/LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.
Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index a7aca87e..e9a484ae 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -42,8 +42,11 @@ #include <signal.h> #ifdef HAVE_STATIC_PERL -void perl_init(void); -void perl_deinit(void); +void perl_core_init(void); +void perl_core_deinit(void); + +void fe_perl_init(void); +void fe_perl_deinit(void); #endif void irc_init(void); @@ -135,7 +138,8 @@ static void textui_finish_init(void) fe_common_irc_finish_init(); #ifdef HAVE_STATIC_PERL - perl_init(); + perl_core_init(); + fe_perl_init(); #endif signal_emit("irssi init finished", 0); @@ -173,7 +177,8 @@ static void textui_deinit(void) deinit_screen(); #ifdef HAVE_STATIC_PERL - perl_deinit(); + fe_perl_deinit(); + perl_core_deinit(); #endif theme_unregister(); |