summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 17:34:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-12 17:34:37 +0000
commit9ffaeadb391064fe49a794cc54b932860e0f99d6 (patch)
treef162bbf3f16acef56dee0deffc0862c760775178 /src/inspircd.cpp
parent1424e8559a704c35cd28c3a7cb2b607d66b25f00 (diff)
Made socket loop flush a users buffer if they still remain after processing each line
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2350 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5a0d5b388..b59a0c53c 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2402,7 +2402,14 @@ void ProcessUser(userrec* cu)
// table, life is much easier (and FASTER)
userrec* new_comp = fd_ref_table[currfd];
if ((currfd < 0) || (!fd_ref_table[currfd]) || (old_comp != new_comp))
+ {
return;
+ }
+ else
+ {
+ /* The user is still here, flush their buffer */
+ current->FlushWriteBuf();
+ }
}
}
return;