summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 18:35:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 18:35:06 +0000
commita04405097289ff7aae18947bd00176eec1529a8a (patch)
treea2d1c49bae8cdd8e4774194e668797fbc499c2ca /src/modules/m_httpd_stats.cpp
parent74f0b3c7e3bc15c549ee0187eeeece73f057eb4d (diff)
Fix some op/halfop counts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7625 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 08be0b2bf..90b01f79a 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -136,7 +136,7 @@ class ModuleHttpStats : public Module
chanrec* c = ServerInstance->FindChan(a->second.c_str());
if (c)
{
- data << "<tr><td>" << a->first << "</td><td>" << a->second << "</td>";
+ data << "<tr><td>" << a->first << "</td><td>" << c->GetUsers()->size() << "</td>";
data << "<td>" << c->GetOppedUsers()->size() << "</td>";
data << "<td>" << c->GetHalfoppedUsers()->size() << "</td>";
data << "<td>" << c->GetVoicedUsers()->size() << "</td>";