summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
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)