diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-13 19:48:22 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-13 19:48:22 +0000 |
commit | 6753591f86633f09e7397d166e14f4986a08b1e9 (patch) | |
tree | b621e396dfed4a2bbe473d8f6ae080f989b02b94 /src/plugins | |
parent | 4e8ed66a1e3ce35b8059e1f0893c70aeb8061902 (diff) | |
download | weechat-6753591f86633f09e7397d166e14f4986a08b1e9.zip |
New /perl autoload command
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/perl/wee-perl.c | 2 | ||||
-rw-r--r-- | src/plugins/plugins.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/perl/wee-perl.c b/src/plugins/perl/wee-perl.c index 12c0051c2..775b77b9b 100644 --- a/src/plugins/perl/wee-perl.c +++ b/src/plugins/perl/wee-perl.c @@ -480,6 +480,8 @@ wee_perl_load (char *filename) { /* execute Perl script */ wee_log_printf (_("loading Perl script \"%s\"\n"), filename); + irc_display_prefix (NULL, PREFIX_PLUGIN); + gui_printf (NULL, _("Loading Perl script \"%s\"\n"), filename); return wee_perl_exec ("wee_perl_load_eval_file", filename); } diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index ac073d4fe..db687dcc6 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -59,6 +59,7 @@ extern t_plugin_handler *last_plugin_cmd_handler; extern t_plugin_script *perl_scripts; #endif +extern void plugin_auto_load (int, char *); extern void plugin_init (); extern void plugin_load (int, char *); extern void plugin_unload (int, /*@null@*/ char *); |