From 94373f0fe8b39022db08802c089855a3098eac30 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 11 Jul 2006 19:23:36 +0000 Subject: FIX channel user count stuff. next to do, order the user count list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 93908a746..6367e02de 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -140,7 +140,8 @@ class ModuleHttpStats : public Module } else { - a[channel->name] = 1; + irc::string name = channel->name; + sh->insert(std::pair(name,1)); } } -- cgit v1.2.3