1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fixed bug with spaces in script names (bug #16957)

This commit is contained in:
Sebastien Helleu
2006-06-30 13:02:25 +00:00
parent 2068aa5322
commit 9563cf2b9d
12 changed files with 38 additions and 56 deletions
+1 -5
View File
@@ -290,10 +290,6 @@ static XS (XS_weechat_register)
}
else
{
perl_plugin->print_server (perl_plugin,
"Perl error: unable to load script "
"\"%s\" (not enough memory)",
name);
XSRETURN_NO;
}
@@ -1511,7 +1507,7 @@ weechat_perl_load (t_weechat_plugin *plugin, char *filename)
{
plugin->print_server (plugin,
"Perl error: function \"register\" not found "
"in file \"%s\"",
"(or failed) in file \"%s\"",
filename);
#ifdef MULTIPLICITY
perl_destruct (perl_current_interpreter);