aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-02-08 13:16:31 +0100
committerGravatar Attila Molnar2014-02-08 13:16:31 +0100
commited6176383eef5de23a62c7de70b58b8d80239005 (patch)
tree4cfa896cd77dac654163cd765eb5c7cd1c8f560c /src/modules/m_httpd_stats.cpp
parentChange SocketEngine functions that do not require an instance to be static (diff)
downloadinspircd++-ed6176383eef5de23a62c7de70b58b8d80239005.tar.gz
inspircd++-ed6176383eef5de23a62c7de70b58b8d80239005.tar.bz2
inspircd++-ed6176383eef5de23a62c7de70b58b8d80239005.zip
Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 11809e893..e94ee2504 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -107,7 +107,7 @@ class ModuleHttpStats : public Module
data << "<usercount>" << ServerInstance->Users->clientlist->size() << "</usercount>";
data << "<channelcount>" << ServerInstance->chanlist->size() << "</channelcount>";
data << "<opercount>" << ServerInstance->Users->all_opers.size() << "</opercount>";
- data << "<socketcount>" << (ServerInstance->SE->GetUsedFds()) << "</socketcount><socketmax>" << ServerInstance->SE->GetMaxFds() << "</socketmax><socketengine>" << ServerInstance->SE->GetName() << "</socketengine>";
+ data << "<socketcount>" << (ServerInstance->SE->GetUsedFds()) << "</socketcount><socketmax>" << ServerInstance->SE->GetMaxFds() << "</socketmax><socketengine>" INSPIRCD_SOCKETENGINE_NAME "</socketengine>";
time_t current_time = 0;
current_time = ServerInstance->Time();