summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-22 20:34:24 +0000
committerdz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-22 20:34:24 +0000
commitc6b11d2130c640bc4a68522aa3b6d48c49fa5d7b (patch)
treefa05dc42c4a965017a4737785b79644f45d8bb99
parent097e4e9a4c0d8a616a869493b841445e9942400d (diff)
Revert r11241 due to crashiness when rehashing from IRC.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/logger.h1
-rw-r--r--src/logger.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/logger.h b/include/logger.h
index d88706214..7ecf954f4 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -69,6 +69,7 @@ class CoreExport FileWriter : public EventHandler
virtual void Close();
/** Close the log file and cancel any events.
+ * (indirectly call Close()
*/
virtual ~FileWriter();
};
diff --git a/src/logger.cpp b/src/logger.cpp
index 05fb801ae..10b5591e7 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -362,5 +362,4 @@ void FileWriter::Close()
FileWriter::~FileWriter()
{
- this->Close();
}