From f3d1e3ce6e158aee03fb378b2ca31032c5cc7521 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Apr 2005 20:26:29 +0000 Subject: Added another check to the mainloop git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@967 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3