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
This commit is contained in:
Timo Sirainen 2001-08-14 00:41:59 +00:00 committed by cras
commit 803d805016
23 changed files with 642 additions and 228 deletions

View file

@ -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)