summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-04 18:02:52 +0000
committerdz <dz@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-04 18:02:52 +0000
commit51f6fd1cf70e06f04ae50795d41ce9703271462c (patch)
tree95ba47a213be593c46b43acc8b218a865867ace8 /src
parentb87d2bf8dc9838ee59dd16adee255aca956ab9f7 (diff)
Reapply r11241: flush and close log filehandles properly when the log is closed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285 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();
}