From 7dadb07a19280936147b91144f27d8528ba35c7c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 2 Apr 2008 19:52:33 +0000 Subject: Fix peavey and w00ts bug they found by removing the nonblocking part of the logger. This stuff was hackish and isnt required. If your hard disk locks up, then you have bigger worries. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9276 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/logger.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/logger.h') diff --git a/include/logger.h b/include/logger.h index 384e38c1a..79914ac98 100644 --- a/include/logger.h +++ b/include/logger.h @@ -38,10 +38,6 @@ class CoreExport FileWriter : public EventHandler */ FILE* log; - /** Buffer of pending log lines to be written - */ - std::string buffer; - /** Number of write operations that have occured */ int writeops; @@ -51,10 +47,6 @@ class CoreExport FileWriter : public EventHandler */ FileWriter(InspIRCd* Instance, FILE* logfile); - /** This returns false, logfiles are writeable. - */ - virtual bool Readable(); - /** Handle pending write events. * This will flush any waiting data to disk. * If any data remains after the fprintf call, -- cgit v1.2.3