From 24b1fbeec8e61e9636daaf606778c324d3ae3042 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 21:39:57 +0000 Subject: Move all_opers into class InspIRCd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 27548c91c..a813660c9 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -28,7 +28,6 @@ using namespace std; /* $ModDesc: Provides statistics over HTTP via m_httpd.so */ -extern std::vector all_opers; extern InspIRCd* ServerInstance; typedef std::map StatsHash; @@ -113,7 +112,7 @@ class ModuleHttpStats : public Module data << ""; data << ""; data << ""; - data << ""; + data << ""; data << ""; data << "
Users" << ServerInstance->clientlist.size() << "
Channels" << ServerInstance->chanlist.size() << "
Opers" << all_opers.size() << "
Opers" << ServerInstance->all_opers.size() << "
Sockets" << (ServerInstance->SE->GetMaxFds() - ServerInstance->SE->GetRemainingFds()) << " (Max: " << ServerInstance->SE->GetMaxFds() << " via socket engine '" << ServerInstance->SE->GetName() << "')
"; data << ""; -- cgit v1.2.3