mirror of
https://github.com/anope/anope.git
synced 2026-06-28 22:46:38 +02:00
Allow the patricia tree to store non-pointers
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ void introduce_user(const Anope::string &user)
|
||||
}
|
||||
|
||||
/* We make the bots go online */
|
||||
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 *u = *it;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user