summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
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 /src/Server.cpp
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
1 files changed, 4 insertions, 1 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)
{