summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-09-13 19:48:22 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-09-13 19:48:22 +0000
commit6753591f86633f09e7397d166e14f4986a08b1e9 (patch)
treeb621e396dfed4a2bbe473d8f6ae080f989b02b94 /src/plugins
parent4e8ed66a1e3ce35b8059e1f0893c70aeb8061902 (diff)
downloadweechat-6753591f86633f09e7397d166e14f4986a08b1e9.zip
New /perl autoload command
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/perl/wee-perl.c2
-rw-r--r--src/plugins/plugins.h1
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 *);