mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 00:52:30 +02:00
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:
parent
f584c1013c
commit
803d805016
23 changed files with 642 additions and 228 deletions
|
|
@ -18,7 +18,8 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "module.h"
|
||||
#include "module-fe.h"
|
||||
#include "modules.h"
|
||||
#include "module-formats.h"
|
||||
#include "signals.h"
|
||||
#include "commands.h"
|
||||
|
|
@ -230,6 +231,8 @@ void fe_perl_init(void)
|
|||
signal_add("script error", (SIGNAL_FUNC) sig_script_error);
|
||||
signal_add("complete command script load", (SIGNAL_FUNC) sig_complete_load);
|
||||
signal_add("complete command script unload", (SIGNAL_FUNC) sig_complete_unload);
|
||||
|
||||
module_register("perl", "fe");
|
||||
}
|
||||
|
||||
void fe_perl_deinit(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue