mirror of
https://github.com/anope/anope.git
synced 2026-07-03 22:43:13 +02:00
Allow the patricia tree to store non-pointers
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ void InitLogChannels(ServerConfig *config)
|
||||
c->SetFlag(CH_LOGCHAN);
|
||||
c->SetFlag(CH_PERSIST);
|
||||
|
||||
for (patricia_tree<BotInfo>::const_iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)
|
||||
for (patricia_tree<BotInfo *>::const_iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)
|
||||
{
|
||||
BotInfo *bi = *it;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user