1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

bug fix and code cleanup in plugins/scripts

This commit is contained in:
Emmanuel Bouthenot
2007-02-27 22:22:56 +00:00
parent 7758f02992
commit 158d2c9934
6 changed files with 4 additions and 10 deletions
-2
View File
@@ -2341,7 +2341,6 @@ weechat_lua_load (t_weechat_plugin *plugin, char *filename)
plugin->print_server (plugin,
"Lua error: %s",
lua_tostring (lua_current_interpreter, -1));
free (lua_current_script_filename);
lua_close (lua_current_interpreter);
fclose (fp);
return 0;
@@ -2355,7 +2354,6 @@ weechat_lua_load (t_weechat_plugin *plugin, char *filename)
plugin->print_server (plugin,
"Lua error: %s",
lua_tostring (lua_current_interpreter, -1));
free (lua_current_script_filename);
lua_close (lua_current_interpreter);
fclose (fp);
/* if script was registered, removing from list */