summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-03 20:26:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-03 20:26:29 +0000
commitf3d1e3ce6e158aee03fb378b2ca31032c5cc7521 (patch)
tree0388936cf4f4cece6fd8170af1e59bdf8fbebdce /src/inspircd.cpp
parentc471b18d773369cfef99f9dc02ff15905599facc (diff)
Added another check to the mainloop
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@967 e03df62e-2008-0410-955e-edbf42e46eb7
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)