diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:39:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:39:57 +0000 |
commit | 24b1fbeec8e61e9636daaf606778c324d3ae3042 (patch) | |
tree | 2eb9d1892dc0d35a969ac9ec3c3c8a6189ef3192 /src/modules | |
parent | d02a5866d4fdedec9219aeca0a6048828b394fd2 (diff) |
Move all_opers into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<userrec*> all_opers; extern InspIRCd* ServerInstance; typedef std::map<irc::string,int> StatsHash; @@ -113,7 +112,7 @@ class ModuleHttpStats : public Module data << "<table>"; data << "<tr><td>Users</td><td>" << ServerInstance->clientlist.size() << "</td></tr>"; data << "<tr><td>Channels</td><td>" << ServerInstance->chanlist.size() << "</td></tr>"; - data << "<tr><td>Opers</td><td>" << all_opers.size() << "</td></tr>"; + data << "<tr><td>Opers</td><td>" << ServerInstance->all_opers.size() << "</td></tr>"; data << "<tr><td>Sockets</td><td>" << (ServerInstance->SE->GetMaxFds() - ServerInstance->SE->GetRemainingFds()) << " (Max: " << ServerInstance->SE->GetMaxFds() << " via socket engine '" << ServerInstance->SE->GetName() << "')</td></tr>"; data << "</table>"; data << "</div>"; |