diff options
author | Timo Sirainen <cras@irssi.org> | 2001-08-14 00:41:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-08-14 00:41:59 +0000 |
commit | 803d8050164eaaefdd52fd4ae967c1e038b3c571 (patch) | |
tree | 615ff88add7d3682beebed692f41f5135c799713 /src/perl/perl-core.c | |
parent | f584c1013c74a98bfb43b79280c4ee20b775970a (diff) | |
download | irssi-803d8050164eaaefdd52fd4ae967c1e038b3c571.zip |
Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].
NOTE: all modules now need to call register_module() in their init()
function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r-- | src/perl/perl-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c index 0807fc72..914f6eff 100644 --- a/src/perl/perl-core.c +++ b/src/perl/perl-core.c @@ -20,6 +20,7 @@ #define NEED_PERL_H #include "module.h" +#include "modules.h" #include "signals.h" #include "misc.h" @@ -363,6 +364,8 @@ void perl_core_init(void) perl_scripts_init(); perl_scripts_autorun(); + + module_register("perl", "core"); } void perl_core_deinit(void) |