diff options
author | Adam <Adam@anope.org> | 2011-04-27 09:26:51 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-04-27 09:26:51 -0400 |
commit | 5d3d6bceadc82abaa4424bfdffa55f66880de689 (patch) | |
tree | 683369423cb767b5492333599e46b867e130b80a /src/nickserv.cpp | |
parent | 0cdc628db05cc7391c6114c46c52d65d90603571 (diff) |
Fixed a crash if an expiring channel had the founder also on the access list
Diffstat (limited to 'src/nickserv.cpp')
-rw-r--r-- | src/nickserv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickserv.cpp b/src/nickserv.cpp index f5095c53d..396c55c53 100644 --- a/src/nickserv.cpp +++ b/src/nickserv.cpp @@ -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; |