summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentleung1 <vincent.leung60@gmail.com>2014-11-30 01:05:22 +0100
committervincentleung1 <vincent.leung60@gmail.com>2014-11-30 01:05:22 +0100
commit438a9b04cbabcbbab06d9f5bd00ced3342eb97f8 (patch)
treee86198853ee3e86878a69b3f8cbcf7be99033c47
parentremoved extra space and fixed some formatting in cCallback (diff)
downloadcuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar.gz
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar.bz2
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar.lz
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar.xz
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.tar.zst
cuberite-438a9b04cbabcbbab06d9f5bd00ced3342eb97f8.zip
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 54a39cdc2..1ffb5f04b 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1806,7 +1806,7 @@ bool cClientHandle::HandleHandshake(const AString & a_Username)
{
if ((*itr).compare(a_Username) == 0)
{
- Kick("User already logged in.");
+ Kick("A player of the username is already logged in");
return false;
}
}
@@ -1820,7 +1820,7 @@ bool cClientHandle::HandleHandshake(const AString & a_Username)
} Callback;
if (cRoot::Get()->GetDefaultWorld()->DoWithPlayer(a_Username, Callback))
{
- Kick("User already logged in.");
+ Kick("A player of the username is already logged in");
}
}
return true;