summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 90b01f79a..37bc7615e 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -134,7 +134,7 @@ class ModuleHttpStats : public Module
for (SortedIter a = so->begin(); ((a != so->end()) && (n < 25)); a++, n++)
{
chanrec* c = ServerInstance->FindChan(a->second.c_str());
- if (c)
+ if (c && !c->IsModeSet('s') && !c->IsModeSet('p'))
{
data << "<tr><td>" << a->first << "</td><td>" << c->GetUsers()->size() << "</td>";
data << "<td>" << c->GetOppedUsers()->size() << "</td>";