diff options
author | Vincent <vincent.leung60@gmail.com> | 2014-11-29 20:22:03 +0100 |
---|---|---|
committer | Vincent <vincent.leung60@gmail.com> | 2014-11-29 20:22:03 +0100 |
commit | a7bf2725c8bd5f8ec3e03584af87a7055cb15a60 (patch) | |
tree | bc377133bef0483cadea4a211ee2e541222dcd58 /src/Server.h | |
parent | issue 1253 - prevent multiple logins with same username (diff) | |
download | cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar.gz cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar.bz2 cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar.lz cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar.xz cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.tar.zst cuberite-a7bf2725c8bd5f8ec3e03584af87a7055cb15a60.zip |
Diffstat (limited to 'src/Server.h')
-rw-r--r-- | src/Server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.h b/src/Server.h index 91e6e5c45..c9741bb7b 100644 --- a/src/Server.h +++ b/src/Server.h @@ -68,10 +68,10 @@ public: // tolua_export void SetMaxPlayers(int a_MaxPlayers) { m_MaxPlayers = a_MaxPlayers; } // Get the users waiting to be put into the World. - std::list<std::string> GetUsernames(void); + std::list<AString> GetUsernames(void); // Can login more than once with same username. - bool isAllowMultiLogin(void) { return m_bAllowMultiLogin; } + bool IsAllowMultiLogin(void) { return m_bAllowMultiLogin; } // Hardcore mode or not: bool IsHardcore(void) const { return m_bIsHardcore; } |