From ede6757f6731fbdabb07092f8785fa09a59c5375 Mon Sep 17 00:00:00 2001 From: Bill Derouin Date: Tue, 7 Jan 2014 09:40:59 -0600 Subject: A few touch ups --- src/Server.cpp | 5 ++++- src/Server.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3