summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-21 17:40:35 +0000
committerdz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-21 17:40:35 +0000
commit2699c4d76435f2368c1064afdbee5fdbb057ef36 (patch)
tree1666c5b3fe8b14da5a028d7a0b4ea4bc9970b65e /src
parent509f691a3c3455f8c11f1ba9b94554a2303e9362 (diff)
Actually close file log FDs when we're done with them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/logger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 10b5591e7..05fb801ae 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -362,4 +362,5 @@ void FileWriter::Close()
FileWriter::~FileWriter()
{
+ this->Close();
}