From ddfb16de1a61a9b80ece0ba6e5fd34326abf5f18 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 14 Mar 2011 20:16:38 -0400 Subject: Fixed compile --- modules/protocol/plexus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/plexus.cpp') diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index edfdfeec4..3b299e962 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -644,9 +644,9 @@ class ProtoPlexus : public Module void OnServerSync(Server *s) { - for (patricia_tree::iterator it(UserListByNick); it.next();) + for (Anope::insensitive_map::iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it) { - User *u = *it; + User *u = it->second; if (u->server == s && !u->IsIdentified()) validate_user(u); } -- cgit