summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 18:37:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-30 18:37:45 +0000
commit3b847793663f0563706704fcae1f8a115a03c13e (patch)
tree9de2714c6d2ea880c88737006f7ea69ed06b5f08 /src/modules
parenta04405097289ff7aae18947bd00176eec1529a8a (diff)
Dont show hidden channels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7627 e03df62e-2008-0410-955e-edbf42e46eb7
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 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>";