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 /modules/core/os_noop.cpp | |
parent | 246f44b9888161aecefc81f0ff17ddd893287e3c (diff) |
Allow the patricia tree to store non-pointers
Diffstat (limited to 'modules/core/os_noop.cpp')
-rw-r--r-- | modules/core/os_noop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_noop.cpp b/modules/core/os_noop.cpp index 56b69fcb7..32b03f63b 100644 --- a/modules/core/os_noop.cpp +++ b/modules/core/os_noop.cpp @@ -38,7 +38,7 @@ class CommandOSNOOP : public Command u->SendMessage(OperServ, OPER_NOOP_SET, server.c_str()); /* Kill all the IRCops of the server */ - for (patricia_tree<User>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end; ++it) + for (patricia_tree<User *>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end; ++it) { User *u2 = *it; ++it; |