From 09afa5085614e0224a296abd082fce205003c3fe Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 11:33:10 +0000 Subject: ServerConfig extern moved into class InspIRCd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') 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 all_opers; extern InspIRCd* ServerInstance; -extern ServerConfig* Config; extern int MODCOUNT; @@ -128,8 +127,8 @@ class ModuleHttpStats : public Module data << ""; for (int i = 0; i <= MODCOUNT; i++) { - if (Config->module_names[i] != "") - data << ""; + if (ServerInstance->Config->module_names[i] != "") + data << ""; } data << "
" << Config->module_names[i] << "
" << ServerInstance->Config->module_names[i] << "
"; data << ""; -- cgit v1.3.1-10-gc9f91