summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 19:23:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 19:23:36 +0000
commit94373f0fe8b39022db08802c089855a3098eac30 (patch)
treea9ed5674e482938c4e22b8d7a4b8422c3f6a742e /src/modules
parentd67225f7e15127841f98a54748c73bff4da9f783 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_httpd_stats.cpp3
1 files changed, 2 insertions, 1 deletions
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<irc::string,int>(name,1));
}
}