summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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));
}
}