summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-12-15 17:20:34 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-12-15 17:20:34 +0100
commit5af10b8cd38c601b0b70c6346d523257cf0e2515 (patch)
tree93a81a0d5dbeaaca4d75dc5c46d44e0f63638b97 /src/Bindings
parentMerge pull request #2749 from cuberite/wrng (diff)
downloadcuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar.gz
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar.bz2
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar.lz
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar.xz
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.tar.zst
cuberite-5af10b8cd38c601b0b70c6346d523257cf0e2515.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings_Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_Network.cpp b/src/Bindings/ManualBindings_Network.cpp
index 1eec4ce53..1631cdfec 100644
--- a/src/Bindings/ManualBindings_Network.cpp
+++ b/src/Bindings/ManualBindings_Network.cpp
@@ -261,7 +261,7 @@ static int tolua_cNetwork_Listen(lua_State * L)
}
// Read the params:
- int Port;
+ int Port = 0;
S.GetStackValues(2, Port);
if ((Port < 0) || (Port > 65535))
{