diff options
| author | 2005-04-03 20:26:29 +0000 | |
|---|---|---|
| committer | 2005-04-03 20:26:29 +0000 | |
| commit | f3d1e3ce6e158aee03fb378b2ca31032c5cc7521 (patch) | |
| tree | 0388936cf4f4cece6fd8170af1e59bdf8fbebdce /src/inspircd.cpp | |
| parent | Fix for bug #39, m_redirect returning invalid/random value for OnUserPreJoin ... (diff) | |
| download | inspircd++-f3d1e3ce6e158aee03fb378b2ca31032c5cc7521.tar.gz inspircd++-f3d1e3ce6e158aee03fb378b2ca31032c5cc7521.tar.bz2 inspircd++-f3d1e3ce6e158aee03fb378b2ca31032c5cc7521.zip | |
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) |
