mirror of
https://github.com/anope/anope.git
synced 2026-06-30 11:46:39 +02:00
Use std::tr1::unordered_map for a few of the larger maps
This commit is contained in:
@@ -630,7 +630,7 @@ class ProtoInspIRCd : public Module
|
||||
void OnServerSync(Server *s) anope_override
|
||||
{
|
||||
if (nickserv)
|
||||
for (Anope::insensitive_map<User *>::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())
|
||||
|
||||
Reference in New Issue
Block a user