diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-28 20:22:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-28 20:22:07 +0000 |
commit | 7972cc32495597ac411a51a40d41e0bb42f80a44 (patch) | |
tree | 169bcbe8024c5fb66032bd6a5c8581541815081e /src/userprocess.cpp | |
parent | 3b6b04b1ee6ce0b9b5274def704170e6181236ec (diff) |
New system for client exits using CullList seems stable, needs testing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 2398ff8fe..1acbb6547 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -283,11 +283,9 @@ bool DoBackgroundUserStuff(time_t TIME) if ((curr) && (curr->fd != 0)) /* XXX - why are we checking fd != 0? --w00t */ { - int currfd = curr->fd; // we don't check the state of remote users. if (IS_LOCAL(curr)) { - curr->FlushWriteBuf(); if (curr->GetWriteError() != "") { log(DEBUG,"InspIRCd: write error: %s",curr->GetWriteError().c_str()); @@ -329,6 +327,7 @@ bool DoBackgroundUserStuff(time_t TIME) curr->lastping = 0; curr->nping = TIME+curr->pingmax; // was hard coded to 120 } + curr->FlushWriteBuf(); } } } |