mirror of
https://github.com/anope/anope.git
synced 2026-07-04 19:13:12 +02:00
Allow the patricia tree to store non-pointers
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ Server::~Server()
|
||||
|
||||
if (Capab.HasFlag(CAPAB_NOQUIT) || Capab.HasFlag(CAPAB_QS))
|
||||
{
|
||||
for (patricia_tree<User>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end;)
|
||||
for (patricia_tree<User *>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end;)
|
||||
{
|
||||
User *u = *it;
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user