From ddfb16de1a61a9b80ece0ba6e5fd34326abf5f18 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 14 Mar 2011 20:16:38 -0400 Subject: Fixed compile --- modules/core/cs_akick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/core/cs_akick.cpp') diff --git a/modules/core/cs_akick.cpp b/modules/core/cs_akick.cpp index bad0e6d22..e9e116cf5 100644 --- a/modules/core/cs_akick.cpp +++ b/modules/core/cs_akick.cpp @@ -213,9 +213,9 @@ class CommandCSAKick : public Command { /* Match against all currently online users with equal or * higher access. - Viper */ - for (patricia_tree::iterator it(UserListByNick); it.next();) + for (Anope::insensitive_map::iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end; ++it) { - User *u2 = *it; + User *u2 = it->second; ChanAccess *u2_access = ci->GetAccess(nc), *u_access = ci->GetAccess(u); int16 u2_level = u2_access ? u2_access->level : 0, u_level = u_access ? u_access->level : 0; -- cgit