summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-02-23 15:40:31 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2015-02-23 15:40:31 +0100
commitd39d2ca5e9592760246b11bdb0336e067ed8ee8a (patch)
treeef3c4ef124daa73f9fce246bfbc9c68e1bd038c6 /src/Bindings
parentReplaced lua_isXYZ with cLuaState::CheckParamXYZ (diff)
downloadcuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar.gz
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar.bz2
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar.lz
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar.xz
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.tar.zst
cuberite-d39d2ca5e9592760246b11bdb0336e067ed8ee8a.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/ManualBindings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 7255f73a4..2e9d49ef0 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -117,8 +117,8 @@ static int tolua_CompressStringZLIB(lua_State * tolua_S)
if (
!S.CheckParamString(1) &&
(
- !S.CheckParamNumber(2) ||
- !S.CheckParamEnd(2)
+ !S.CheckParamNumber(2) ||
+ !S.CheckParamEnd(2)
)
)
{