From 51b1560725e8b95562a0d09b87755add4ba59aef Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Dec 2006 19:51:56 +0000 Subject: Remove FlushWriteBuffer() from DoBackgroundUserStuff(). Its no longer required here, it used to try and flush the buffer before we actually monitored write events, long ago, without seeing if it could write first, and wasted cpu. It should be removed now and doesnt seem to affect anything. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5989 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 9aa6d4a31..815663ad8 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -331,7 +331,7 @@ void InspIRCd::DoBackgroundUserStuff(time_t TIME) * We can flush the write buffer as the last thing we do, because if they * match any of the above conditions its no use flushing their buffer anyway. */ - curr->FlushWriteBuf(); + //curr->FlushWriteBuf(); } } -- cgit v1.3.1-10-gc9f91