summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-12-08 09:45:29 +0100
committerVincent <vincent.leung60@gmail.com>2014-12-08 09:45:29 +0100
commit6de07d4a39096f19c075695824aa87a1907e4edc (patch)
treedc054c1be5c63b9b2303c208e8c8ad83eb37fcee /src/Server.h
parentremoved last space in handlehandshake (diff)
downloadcuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar.gz
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar.bz2
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar.lz
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar.xz
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.tar.zst
cuberite-6de07d4a39096f19c075695824aa87a1907e4edc.zip
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.h b/src/Server.h
index c9741bb7b..e329b5c65 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -67,8 +67,8 @@ public: // tolua_export
int GetNumPlayers(void) const;
void SetMaxPlayers(int a_MaxPlayers) { m_MaxPlayers = a_MaxPlayers; }
- // Get the users waiting to be put into the World.
- std::list<AString> GetUsernames(void);
+ // Check if the player is queued to be transferred to a World.
+ bool IsPlayerInQueue(AString a_Username);
// Can login more than once with same username.
bool IsAllowMultiLogin(void) { return m_bAllowMultiLogin; }