diff options
author | Adam <Adam@anope.org> | 2011-03-14 20:16:38 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-14 20:16:38 -0400 |
commit | ddfb16de1a61a9b80ece0ba6e5fd34326abf5f18 (patch) | |
tree | 81e29e3eebc8ae6241e6bdd6970e48a037291203 /src/logger.cpp | |
parent | 2555d0d6373e631ca2504826a02aaae2e82cd7a4 (diff) |
Fixed compile
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index b40fdc11d..1265dc3e2 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -32,9 +32,9 @@ void InitLogChannels(ServerConfig *config) c->SetFlag(CH_LOGCHAN); c->SetFlag(CH_PERSIST); - for (patricia_tree<BotInfo *, ci::ci_char_traits>::iterator it(BotListByNick); it.next();) + for (Anope::insensitive_map<BotInfo *>::iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it) { - BotInfo *bi = *it; + BotInfo *bi = it->second; if (bi->HasFlag(BI_CORE) && !c->FindUser(bi)) bi->Join(c, &config->BotModeList); |