1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 02:26:38 +02:00

Added patricia_tree::iterator

This commit is contained in:
Adam
2011-01-28 23:09:25 -05:00
parent 3eadc1509f
commit e62664138b
25 changed files with 130 additions and 72 deletions
+1 -1
View File
@@ -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())