summaryrefslogtreecommitdiff
path: root/modules/webcpanel/pages/index.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-09 13:22:48 +0000
committerSadie Powell <sadie@witchery.services>2024-03-09 22:22:56 +0000
commit39d288f99f878fcaa0f43d659815686fbee667f5 (patch)
treed2af6fa9ef42d9887965886acdba9fd13a7e074a /modules/webcpanel/pages/index.cpp
parent9ead3f15c3256786d3c2b485a786ad32faa0a438 (diff)
Rename hash_map to unordered_map to match the underlying container.
Diffstat (limited to 'modules/webcpanel/pages/index.cpp')
-rw-r--r--modules/webcpanel/pages/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webcpanel/pages/index.cpp b/modules/webcpanel/pages/index.cpp
index 204e00db1..831eb9996 100644
--- a/modules/webcpanel/pages/index.cpp
+++ b/modules/webcpanel/pages/index.cpp
@@ -103,7 +103,7 @@ bool WebCPanel::Index::OnRequest(HTTPProvider *server, const Anope::string &page
// Rate limit check.
Anope::string ip = client->clientaddr.addr();
- Anope::hash_map<time_t>::iterator it = last_login_attempt.find(ip);
+ Anope::unordered_map<time_t>::iterator it = last_login_attempt.find(ip);
if (it != last_login_attempt.end())
{
time_t last_time = it->second;