diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-03 20:26:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-03 20:26:29 +0000 |
commit | f3d1e3ce6e158aee03fb378b2ca31032c5cc7521 (patch) | |
tree | 0388936cf4f4cece6fd8170af1e59bdf8fbebdce /src/inspircd.cpp | |
parent | c471b18d773369cfef99f9dc02ff15905599facc (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.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) |