summaryrefslogtreecommitdiffstats
path: root/source/Protocol125.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 21:05:35 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 21:05:35 +0200
commite3d5da24091bad6043d7eef00f8f297bf1203ab5 (patch)
tree409ee30de2e9df0c46f0d4043149d01616a520e1 /source/Protocol125.cpp
parentFixed preprocessor definitions in Linux (diff)
downloadcuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.gz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.bz2
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.lz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.xz
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.tar.zst
cuberite-e3d5da24091bad6043d7eef00f8f297bf1203ab5.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol125.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol125.cpp b/source/Protocol125.cpp
index 41a64f24b..4f162dab6 100644
--- a/source/Protocol125.cpp
+++ b/source/Protocol125.cpp
@@ -1028,7 +1028,7 @@ int cProtocol125::ParseLogin(void)
LOGWARNING("Login Username (\"%s\") does not match Handshake username (\"%s\") for client @ \"%s\", kicking",
Username.c_str(),
m_Username.c_str(),
- m_Client->GetSocket().GetIPString().c_str()
+ m_Client->GetIPString().c_str()
);
m_Client->Kick("Hacked client"); // Don't tell them why we don't want them
return PARSE_OK;