diff options
author | Adam <Adam@anope.org> | 2010-11-21 00:20:36 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:35:30 -0500 |
commit | 7790a7f98c56a16e6fed2bf51168881902880c62 (patch) | |
tree | 1c1854ec1ef603385c7c85fb967e0500fbc55315 /src/botserv.cpp | |
parent | 246f44b9888161aecefc81f0ff17ddd893287e3c (diff) |
Allow the patricia tree to store non-pointers
Diffstat (limited to 'src/botserv.cpp')
-rw-r--r-- | src/botserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.cpp b/src/botserv.cpp index af3b0ee4e..82826b489 100644 --- a/src/botserv.cpp +++ b/src/botserv.cpp @@ -37,7 +37,7 @@ void get_botserv_stats(long *nrec, long *memuse) { long count = 0, mem = 0; - 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; |