summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;