1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 18:03:13 +02:00

Allow the patricia tree to store non-pointers

This commit is contained in:
Adam
2010-11-21 00:20:36 -05:00
parent 246f44b988
commit 7790a7f98c
26 changed files with 47 additions and 52 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class CommandOSSession : public Command
u->SendMessage(OperServ, OPER_SESSION_LIST_HEADER, mincount);
u->SendMessage(OperServ, OPER_SESSION_LIST_COLHEAD);
for (patricia_tree<Session>::const_iterator it = SessionList.begin(), it_end = SessionList.end(); it != it_end; ++it)
for (patricia_tree<Session *>::const_iterator it = SessionList.begin(), it_end = SessionList.end(); it != it_end; ++it)
{
Session *session = *it;