diff options
author | tycho <work.tycho@gmail.com> | 2015-05-24 15:58:24 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-24 15:58:24 +0200 |
commit | 76a3165f09e729c07cc64b085ec320cbeb206d59 (patch) | |
tree | e38a75f890aaa171d76828c27a318d7f7114605b /src/Bindings | |
parent | Disable -Werror for warnings in tests. (diff) | |
download | cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar.gz cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar.bz2 cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar.lz cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar.xz cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.tar.zst cuberite-76a3165f09e729c07cc64b085ec320cbeb206d59.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/ManualBindings_Network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_Network.cpp b/src/Bindings/ManualBindings_Network.cpp index 7d6ff95a7..b5fb5b046 100644 --- a/src/Bindings/ManualBindings_Network.cpp +++ b/src/Bindings/ManualBindings_Network.cpp @@ -104,7 +104,7 @@ static int tolua_cNetwork_CreateUDPEndpoint(lua_State * L) UInt16 Port; // Check validity: - if (S.GetStackValues(2, Port)) + if (!S.GetStackValues(2, Port)) { LOGWARNING("cNetwork:CreateUDPEndpoint() called with invalid port, failing the request."); S.Push(false); |