diff Core/Lua/LuaContext.cpp @ 2261:c4b16f107f19

fix
author amazy
date Thu, 02 Feb 2017 21:32:44 +0100
parents cd70a86618b4
children 6d425452247e
line wrap: on
line diff
--- 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()";