From 3815ab8c4510d3114e499045d9159f8987d254f9 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Mon, 21 Apr 2014 20:17:30 +0200 Subject: [PATCH] Return nil if value not found in luaGetValue() --- radio/src/lua.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/lua.cpp b/radio/src/lua.cpp index 6677e0c62..f97e6618f 100644 --- a/radio/src/lua.cpp +++ b/radio/src/lua.cpp @@ -131,7 +131,7 @@ static int luaGetValue(lua_State *L) return 1; } } - + lua_pushnil(L); return 0; }