1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +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
@@ -203,10 +203,6 @@ weechat_lua_register (lua_State *L)
}
else
{
lua_plugin->print_server (lua_plugin,
"Lua error: unable to load script "
"\"%s\" (not enough memory)",
name);
lua_pushnumber (lua_current_interpreter, 0);
return 1;
}
@@ -1728,7 +1724,7 @@ weechat_lua_load (t_weechat_plugin *plugin, char *filename)
{
plugin->print_server (plugin,
"Lua error: function \"register\" not found "
"in file \"%s\"",
"(or failed) in file \"%s\"",
filename);
lua_close (lua_current_interpreter);
return 0;