summaryrefslogtreecommitdiff
path: root/modules/core/os_staff.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-21 00:20:36 -0500
committerAdam <Adam@anope.org>2010-12-12 19:35:30 -0500
commit7790a7f98c56a16e6fed2bf51168881902880c62 (patch)
tree1c1854ec1ef603385c7c85fb967e0500fbc55315 /modules/core/os_staff.cpp
parent246f44b9888161aecefc81f0ff17ddd893287e3c (diff)
Allow the patricia tree to store non-pointers
Diffstat (limited to 'modules/core/os_staff.cpp')
-rw-r--r--modules/core/os_staff.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_staff.cpp b/modules/core/os_staff.cpp
index 6b8b1cb43..136e2ba4f 100644
--- a/modules/core/os_staff.cpp
+++ b/modules/core/os_staff.cpp
@@ -33,7 +33,7 @@ class CommandOSStaff : public Command
if (na)
{
/* We have to loop all users as some may be logged into an account but not a nick */
- for (patricia_tree<User>::const_iterator uit = UserListByNick.begin(), uit_end = UserListByNick.end(); uit != uit_end; ++uit)
+ for (patricia_tree<User *>::const_iterator uit = UserListByNick.begin(), uit_end = UserListByNick.end(); uit != uit_end; ++uit)
{
User *u2 = *uit;