1
0
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:
Adam
2011-04-27 09:26:51 -04:00
parent 0cdc628db0
commit 5d3d6bcead
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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;