summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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>";