summaryrefslogtreecommitdiffstats
path: root/src/Server.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/Server.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 'src/Server.h')
-rw-r--r--src/Server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Server.h b/src/Server.h
index a93e8df75..39a5a1a71 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -68,12 +68,12 @@ public: // tolua_export
void SetMaxPlayers(int a_MaxPlayers) { m_MaxPlayers = a_MaxPlayers; }
/** Check if the player is queued to be transferred to a World.
- Returns true is Player is found in queue. */
+ Returns true is Player is found in queue. */
bool IsPlayerInQueue(AString a_Username);
/** Can login more than once with same username.
- Returns false if it is not allowed, true otherwise. */
- bool IsAllowMultiLogin(void) { return m_bAllowMultiLogin; }
+ Returns false if it is not allowed, true otherwise. */
+ bool DoesAllowMultiLogin(void) { return m_bAllowMultiLogin; }
// Hardcore mode or not:
bool IsHardcore(void) const { return m_bIsHardcore; }