diff options
-rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 03db53f40..32c0d972e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3513,6 +3513,7 @@ int InspIRCd(void) user_hash::iterator xcount = count2; user_hash::iterator endingiter = count2; + if (count2 == clientlist.end()) break; if (!count2->second) break; if (count2->second) |