1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 22:03:13 +02:00

Fixed compile

This commit is contained in:
Adam
2011-03-14 20:16:38 -04:00
parent 2555d0d637
commit ddfb16de1a
32 changed files with 122 additions and 158 deletions
+3 -4
View File
@@ -65,11 +65,10 @@ Server::~Server()
if (Capab.HasFlag(CAPAB_NOQUIT) || Capab.HasFlag(CAPAB_QS))
{
patricia_tree<User *, ci::ci_char_traits>::iterator uit(UserListByNick);
for (bool next = uit.next(); next;)
for (Anope::insensitive_map<User *>::const_iterator it = UserListByNick.begin(); it != UserListByNick.end();)
{
User *u = *uit;
next = uit.next();
User *u = it->second;
++it;
if (u->server == this)
{