From b9297c465967f69e291404de99bd7391ecb8e8ae Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 31 Oct 2011 09:55:15 +0100 Subject: [PATCH] lua: fix typo in comment --- src/plugins/scripts/lua/weechat-lua.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index a02f49c53..1179783f7 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -326,10 +326,12 @@ weechat_lua_load (const char *filename) lua_tostring (lua_current_interpreter, -1)); lua_close (lua_current_interpreter); fclose (fp); - /* if script was registered, removing from list */ + + /* if script was registered, remove it from list */ if (lua_current_script) script_remove (weechat_lua_plugin, &lua_scripts, &last_lua_script, lua_current_script); + return 0; } fclose (fp);