From 0c750c060839f9018ca129bd7456184792ea0dc0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 21 Jun 2020 04:25:45 +0100 Subject: Move channel logic from InspIRCd to the new ChannelManager class. --- src/modules/m_httpd_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_httpd_stats.cpp') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index df127fe8b..b568f8d64 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -131,7 +131,7 @@ namespace Stats data << ""; data << "" << ServerInstance->Users.GetUsers().size() << ""; data << "" << ServerInstance->Users.GetLocalUsers().size() << ""; - data << "" << ServerInstance->GetChans().size() << ""; + data << "" << ServerInstance->Channels.GetChans().size() << ""; data << "" << ServerInstance->Users.all_opers.size() << ""; data << "" << (SocketEngine::GetUsedFds()) << "" << SocketEngine::GetMaxFds() << ""; data << "" << ServerInstance->startup_time << ""; @@ -177,7 +177,7 @@ namespace Stats { data << ""; - for (const auto& [_, c] : ServerInstance->GetChans()) + for (const auto& [_, c] : ServerInstance->Channels.GetChans()) { data << ""; data << "" << c->GetUsers().size() << "" << Sanitize(c->name) << ""; -- cgit v1.3.1-10-gc9f91