From 3b847793663f0563706704fcae1f8a115a03c13e Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Jul 2007 18:37:45 +0000 Subject: Dont show hidden channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7627 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 << "" << a->first << "" << c->GetUsers()->size() << ""; data << "" << c->GetOppedUsers()->size() << ""; -- cgit v1.2.3