From ceafdab3aedfd9069d1d45bac6d247f620382e74 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 23 Feb 2016 17:47:17 +0000 Subject: [PATCH] Fix has_symbol method --- src/lua/lua_task.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index dde882104..e73de893d 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1937,6 +1937,8 @@ lua_task_has_symbol (lua_State *L) if (mres) { found = g_hash_table_lookup (mres->symbols, symbol) != NULL; } + + lua_pushboolean (L, found); } else { luaL_error (L, "invalid arguments"); -- 2.39.5