summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-01-28 23:09:25 -0500
committerAdam <Adam@anope.org>2011-01-28 23:09:25 -0500
commite62664138b42437186669952a5c1a848c2cdfb02 (patch)
tree803ca8c6ba64bcaf1ed70fbcfac41878f1204063 /modules/protocol/plexus.cpp
parent3eadc1509f378f26037dd3b7e1d61e0ac2d35019 (diff)
Added patricia_tree::iterator
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 634627715..8243e605a 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -580,7 +580,7 @@ bool event_eob(const Anope::string &source, const std::vector<Anope::string> &pa
if (s)
{
s->Sync(true);
- for (patricia_tree<User *>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end; ++it)
+ for (patricia_tree<User *, ci::ci_char_traits>::iterator it(UserListByNick); it.next();)
{
User *u = *it;
if (u->server == s && !u->IsIdentified())