summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 23:33:24 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-30 00:36:15 +0200
commit222d9957a1a566464d6a824caaf9a56539eb3234 (patch)
treec4bd9041e07a61c6f1a1eaaf70838e26fafae82e /src/Server.cpp
parentDo an early check for empty network buffers (#5172) (diff)
downloadcuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.gz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.bz2
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.lz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.xz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.zst
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.zip
Diffstat (limited to 'src/Server.cpp')
-rw-r--r--src/Server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index a0b9f245d..7e7aa0c67 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -411,7 +411,8 @@ bool cServer::Start(void)
LOGERROR("Couldn't open any ports. Aborting the server");
return false;
}
- return m_TickThread.Start();
+ m_TickThread.Start();
+ return true;
}