summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Derouin <derouinbill@gmail.com>2014-01-07 16:40:59 +0100
committerBill Derouin <derouinbill@gmail.com>2014-01-07 16:40:59 +0100
commitede6757f6731fbdabb07092f8785fa09a59c5375 (patch)
tree90e88be6422f30e094a6342e6f6e8da4f91e9693
parentRemoved unused line (diff)
downloadcuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar.gz
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar.bz2
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar.lz
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar.xz
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.tar.zst
cuberite-ede6757f6731fbdabb07092f8785fa09a59c5375.zip
Diffstat (limited to '')
-rw-r--r--src/Server.cpp5
-rw-r--r--src/Server.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/Server.cpp b/src/Server.cpp
index e5050f321..0afd8958d 100644
--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -203,7 +203,10 @@ bool cServer::InitServer(cIniFile & a_SettingsIni)
m_PlayerCount = 0;
m_PlayerCountDiff = 0;
- if (cFile::Exists("favicon.png")) m_Favicon = Base64Encode(cFile::ReadWholeFile("favicon.png"));
+ if (cFile::Exists("favicon.png"))
+ {
+ m_FaviconData = Base64Encode(cFile::ReadWholeFile("favicon.png"));
+ }
if (m_bIsConnected)
{
diff --git a/src/Server.h b/src/Server.h
index e33264277..62fdf225a 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -185,7 +185,7 @@ private:
cRCONServer m_RCONServer;
AString m_Description;
- AString m_Favicon;
+ AString m_FaviconData;
int m_MaxPlayers;
bool m_bIsHardcore;