Skip to content

Instantly share code, notes, and snippets.

@torhve
Created March 13, 2013 15:11
Show Gist options
  • Save torhve/5153070 to your computer and use it in GitHub Desktop.
Save torhve/5153070 to your computer and use it in GitHub Desktop.
diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c
index cdd4990..e8a203d 100644
--- a/src/plugins/lua/weechat-lua.c
+++ b/src/plugins/lua/weechat-lua.c
@@ -236,6 +236,7 @@ weechat_lua_exec (struct t_plugin_script *script, int ret_type,
return NULL;
}
+ lua_pop(lua_current_interpreter, 1);
lua_current_script = old_lua_current_script;
lua_current_interpreter = old_lua_current_interpreter;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment