summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-07 17:53:40 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-07 17:53:40 +0100
commit1d96a615b5d1578912ec2e95c03dee6781cb3396 (patch)
treebf8ba708d71ccbd03adb8a282deaa8e65c78fbbe /src/Server.h
parentMerge pull request #514 from derouinw/master (diff)
downloadcuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar.gz
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar.bz2
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar.lz
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar.xz
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.tar.zst
cuberite-1d96a615b5d1578912ec2e95c03dee6781cb3396.zip
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Server.h b/src/Server.h
index 2609b6874..d79417fb0 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -107,7 +107,8 @@ 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);
- const AString & GetFaviconData(void) const;
+ /* Returns base64 encoded favicon data (obtained from favicon.png) */
+ const AString & GetFaviconData(void) const { return m_FaviconData; }
CryptoPP::RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
CryptoPP::RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; }