summaryrefslogtreecommitdiff
path: root/modules/core/cs_akick.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/cs_akick.cpp
parent246f44b9888161aecefc81f0ff17ddd893287e3c (diff)
Allow the patricia tree to store non-pointers
Diffstat (limited to 'modules/core/cs_akick.cpp')
-rw-r--r--modules/core/cs_akick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_akick.cpp b/modules/core/cs_akick.cpp
index f539952d7..df1171589 100644
--- a/modules/core/cs_akick.cpp
+++ b/modules/core/cs_akick.cpp
@@ -207,7 +207,7 @@ class CommandCSAKick : public Command
{
/* Match against all currently online users with equal or
* higher access. - Viper */
- 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;