From 6caa57aa0cce43d5eb794811eec13c4100aab34c Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 19 Sep 2013 23:53:04 +0100 Subject: [PATCH] Removed lua debug --- src/plugins/lua_plugins.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/lua_plugins.c b/src/plugins/lua_plugins.c index 0914929b..3d88e2cf 100644 --- a/src/plugins/lua_plugins.c +++ b/src/plugins/lua_plugins.c @@ -187,13 +187,11 @@ lua_before_message_displayed_hook(ProfPlugin *plugin, const char *message) if (lua_isstring(L, -1)) { result = strdup(lua_tostring(L, -1)); } - l_stackdump(L); - //lua_pop(L, 2); + lua_pop(L, 2); return result; } else { - l_stackdump(L); - //lua_pop(L, 2); + lua_pop(L, 2); return NULL; } }