# HG changeset patch # User amazy # Date 1486067564 -3600 # Node ID c4b16f107f1997621dfc542c9573b118d48f1c89 # Parent a7a4fd44286cd3ceeb6199e4b44bd613273d405c fix diff -r a7a4fd44286c -r c4b16f107f19 Core/Lua/LuaContext.cpp --- a/Core/Lua/LuaContext.cpp Thu Feb 02 21:18:59 2017 +0100 +++ b/Core/Lua/LuaContext.cpp Thu Feb 02 21:32:44 2017 +0100 @@ -238,7 +238,7 @@ // Check the types of the arguments int nArgs = lua_gettop(state); - if ((nArgs < 1 or nArgs > 2) || // check args count + if ((nArgs < 1 || nArgs > 2) || // check args count !lua_isstring(state, 1)) // URL is a string { LOG(ERROR) << "Lua: Bad parameters to HttpGet()";