1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed lua debug

This commit is contained in:
James Booth 2013-09-19 23:53:04 +01:00
parent c545522cfa
commit 6caa57aa0c

View File

@ -187,13 +187,11 @@ lua_before_message_displayed_hook(ProfPlugin *plugin, const char *message)
if (lua_isstring(L, -1)) { if (lua_isstring(L, -1)) {
result = strdup(lua_tostring(L, -1)); result = strdup(lua_tostring(L, -1));
} }
l_stackdump(L); lua_pop(L, 2);
//lua_pop(L, 2);
return result; return result;
} else { } else {
l_stackdump(L); lua_pop(L, 2);
//lua_pop(L, 2);
return NULL; return NULL;
} }
} }