summaryrefslogtreecommitdiffstats
path: root/src/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.cpp')
-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)
{