summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Derouin <derouinbill@gmail.com>2014-01-07 17:26:56 +0100
committerBill Derouin <derouinbill@gmail.com>2014-01-07 17:26:56 +0100
commit5012b81578396154150cb4696d57c455766e22f2 (patch)
treef6a4bdae23ddfbc7d3637ef7a1a5d87e380d6826 /src
parentA few more touch ups (diff)
downloadcuberite-5012b81578396154150cb4696d57c455766e22f2.tar
cuberite-5012b81578396154150cb4696d57c455766e22f2.tar.gz
cuberite-5012b81578396154150cb4696d57c455766e22f2.tar.bz2
cuberite-5012b81578396154150cb4696d57c455766e22f2.tar.lz
cuberite-5012b81578396154150cb4696d57c455766e22f2.tar.xz
cuberite-5012b81578396154150cb4696d57c455766e22f2.tar.zst
cuberite-5012b81578396154150cb4696d57c455766e22f2.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp2
-rw-r--r--src/Server.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index 30c401d59..e2a73541a 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -294,7 +294,7 @@ int cServer::GetNumPlayers(void)
-AString cServer::GetFaviconData(void)
+const AString & cServer::GetFaviconData(void) const
{
return m_FaviconData;
}
diff --git a/src/Server.h b/src/Server.h
index 62fdf225a..2609b6874 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -107,7 +107,7 @@ public: // tolua_export
/// Notifies the server that a player is being destroyed; the server uses this to adjust the number of players
void PlayerDestroying(const cPlayer * a_Player);
- AString GetFaviconData(void);
+ const AString & GetFaviconData(void) const;
CryptoPP::RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
CryptoPP::RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; }