From 53b2bdfe5e157a9e5ca5d08873edebcd04511ae1 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 5 Nov 2012 22:17:47 -0500 Subject: Use std::tr1::unordered_map for a few of the larger maps --- modules/protocol/ratbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/ratbox.cpp') diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 4acf5e79a..317ced1ff 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -97,7 +97,7 @@ class RatboxProto : public IRCDProto if (!u) { /* No user (this akill was just added), and contains nick and/or realname. Find users that match and ban them */ - for (Anope::insensitive_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it) + for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it) if (x->manager->Check(it->second, x)) this->SendAkill(it->second, x); return; @@ -631,7 +631,7 @@ class ProtoRatbox : public Module void OnServerSync(Server *s) anope_override { if (nickserv) - for (Anope::insensitive_map::iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it) + for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it) { User *u = it->second; if (u->server == s && !u->IsIdentified()) -- cgit