summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-12-09 12:06:25 +0100
committerVincent <vincent.leung60@gmail.com>2014-12-09 12:06:25 +0100
commit4b08ca261bed5ec2fd70f64ee96104ba6bee6927 (patch)
treed60882a107e67c3e42356fe8550d941eb0a2c94d /src/ClientHandle.h
parentChanged DoWithPlayer to auto instead of using iterator. (diff)
downloadcuberite-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 '')
-rw-r--r--src/ClientHandle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index cd63aa308..b3aec86f6 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -280,7 +280,8 @@ public:
void HandleEntityLeaveBed (int a_EntityID);
void HandleEntitySprinting (int a_EntityID, bool a_IsSprinting);
- /** Kicks the current player if the same username is already logged in. */
+ /** Kicks the current player if the same username is already logged in.
+ Returns false if a player has been kicked, true otherwise. */
bool CheckMultiLogin(const AString & a_Username);
/** Called when the protocol handshake has been received (for protocol versions that support it;