diff options
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 1feeb9d24..544cc1475 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -32,7 +32,6 @@ extern user_hash clientlist; extern chan_hash chanlist; extern std::vector<userrec*> all_opers; extern InspIRCd* ServerInstance; -extern ServerConfig* Config; extern int MODCOUNT; @@ -128,8 +127,8 @@ class ModuleHttpStats : public Module data << "<table>"; for (int i = 0; i <= MODCOUNT; i++) { - if (Config->module_names[i] != "") - data << "<tr><td>" << Config->module_names[i] << "</td></tr>"; + if (ServerInstance->Config->module_names[i] != "") + data << "<tr><td>" << ServerInstance->Config->module_names[i] << "</td></tr>"; } data << "</table>"; data << "</div>"; |
