mirror of
https://github.com/anope/anope.git
synced 2026-06-28 11:06:37 +02:00
Fixed a crash if an expiring channel had the founder also on the access list
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ int validate_user(User *u)
|
||||
|
||||
void expire_nicks()
|
||||
{
|
||||
for (nickalias_map::const_iterator it = NickAliasList.begin(); it != NickAliasList.end();)
|
||||
for (nickalias_map::const_iterator it = NickAliasList.begin(), it_end = NickAliasList.end(); it != it_end;)
|
||||
{
|
||||
NickAlias *na = it->second;
|
||||
++it;
|
||||
|
||||
Reference in New Issue
Block a user