diff options
author | Vincent <vincent.leung60@gmail.com> | 2014-12-09 12:06:25 +0100 |
---|---|---|
committer | Vincent <vincent.leung60@gmail.com> | 2014-12-09 12:06:25 +0100 |
commit | 4b08ca261bed5ec2fd70f64ee96104ba6bee6927 (patch) | |
tree | d60882a107e67c3e42356fe8550d941eb0a2c94d /src/ClientHandle.cpp | |
parent | Changed DoWithPlayer to auto instead of using iterator. (diff) | |
download | cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar.gz cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar.bz2 cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar.lz cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar.xz cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.tar.zst cuberite-4b08ca261bed5ec2fd70f64ee96104ba6bee6927.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 3bc17d1a9..6812c06ac 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1799,8 +1799,8 @@ bool cClientHandle::CheckMultiLogin(const AString & a_Username) // Check if the player is waiting to be transferred to the World. if (cRoot::Get()->GetServer()->IsPlayerInQueue(a_Username)) { - Kick("A player of the username is already logged in"); - return false; + Kick("A player of the username is already logged in"); + return false; } class cCallback : @@ -1816,8 +1816,8 @@ bool cClientHandle::CheckMultiLogin(const AString & a_Username) if (cRoot::Get()->DoWithPlayer(a_Username, Callback)) { Kick("A player of the username is already logged in"); - return false; } + return false; } |