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 /modules/core/db_plain.cpp | |
parent | 2555d0d6373e631ca2504826a02aaae2e82cd7a4 (diff) |
Fixed compile
Diffstat (limited to 'modules/core/db_plain.cpp')
-rw-r--r-- | modules/core/db_plain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/db_plain.cpp b/modules/core/db_plain.cpp index 550f229a1..2bad313ca 100644 --- a/modules/core/db_plain.cpp +++ b/modules/core/db_plain.cpp @@ -782,9 +782,9 @@ class DBPlain : public Module FOREACH_MOD(I_OnDatabaseWriteMetadata, OnDatabaseWriteMetadata(WriteMetadata, na)); } - for (patricia_tree<BotInfo *, ci::ci_char_traits>::iterator it(BotListByNick); it.next();) + for (Anope::insensitive_map<BotInfo *>::const_iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it) { - BotInfo *bi = *it; + BotInfo *bi = it->second; db_buffer << "BI " << bi->nick << " " << bi->GetIdent() << " " << bi->host << " " << bi->created << " " << bi->chancount << " :" << bi->realname << endl; if (bi->FlagCount()) |