diff options
| author | 2006-08-09 11:33:10 +0000 | |
|---|---|---|
| committer | 2006-08-09 11:33:10 +0000 | |
| commit | 09afa5085614e0224a296abd082fce205003c3fe (patch) | |
| tree | 444d54deea5f10e3045e0a8a016f9623499f513e /src/modules/m_httpd_stats.cpp | |
| parent | Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do... (diff) | |
| download | inspircd++-09afa5085614e0224a296abd082fce205003c3fe.tar.gz inspircd++-09afa5085614e0224a296abd082fce205003c3fe.tar.bz2 inspircd++-09afa5085614e0224a296abd082fce205003c3fe.zip | |
ServerConfig extern moved into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
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>"; |
