summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-12-08 09:12:48 +0100
committerVincent <vincent.leung60@gmail.com>2014-12-08 09:12:48 +0100
commitd8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063 (patch)
tree7d51c143dd473da9bccff93dbfa89bb8314bbd2d /src/ClientHandle.h
parentMerge branch 'issue_1253' of https://github.com/p-mcgowan/MCServer into issue_1253 (diff)
downloadcuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.gz
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.bz2
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.lz
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.xz
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.zst
cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index f195b6be7..880a404da 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -280,6 +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. */
+ bool CheckMultiLogin(void);
/** Called when the protocol handshake has been received (for protocol versions that support it;
otherwise the first instant when a username is received).
Returns true if the player is to be let in, false if they were disconnected