]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
FIX channel user count stuff. next to do, order the user count list
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 11 Jul 2006 19:23:36 +0000 (19:23 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 11 Jul 2006 19:23:36 +0000 (19:23 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_httpd_stats.cpp

index 93908a746ff5cc7985e66260783325da2cd08003..6367e02de3961f707c01f81f9bbd43c5ea2c9db2 100644 (file)
@@ -140,7 +140,8 @@ class ModuleHttpStats : public Module
                }
                else
                {
-                       a[channel->name] = 1;
+                       irc::string name = channel->name;
+                       sh->insert(std::pair<irc::string,int>(name,1));
                }
        }