1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 02:06:38 +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
+2 -2
View File
@@ -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);