fix buggy C-style comparison of integer value

in Lua land, "if 0 then X end" does execute X.