summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-18 14:17:09 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-09-18 17:41:06 +0200
commit608e7a9950ccb423b9d715185a29f2fc035e6dc6 (patch)
tree2a9221475622b535383f6350a986b18dd3c86ddd /src/Protocol/Protocol_1_8.cpp
parentAdd State enum to protocol (diff)
downloadcuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar.gz
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar.bz2
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar.lz
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar.xz
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.tar.zst
cuberite-608e7a9950ccb423b9d715185a29f2fc035e6dc6.zip
Diffstat (limited to 'src/Protocol/Protocol_1_8.cpp')
-rw-r--r--src/Protocol/Protocol_1_8.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp
index 1ccc24e90..1c98d83f3 100644
--- a/src/Protocol/Protocol_1_8.cpp
+++ b/src/Protocol/Protocol_1_8.cpp
@@ -100,10 +100,9 @@ extern bool g_ShouldLogCommIn, g_ShouldLogCommOut;
////////////////////////////////////////////////////////////////////////////////
// cProtocol_1_8_0:
-cProtocol_1_8_0::cProtocol_1_8_0(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, State a_State) :
+cProtocol_1_8_0::cProtocol_1_8_0(cClientHandle * a_Client, const AString & a_ServerAddress, State a_State) :
Super(a_Client),
m_ServerAddress(a_ServerAddress),
- // Note: a_ServerPort is unused
m_State(a_State),
m_IsEncrypted(false)
{