summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-20 04:40:18 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-20 04:40:18 +0000
commitfa5abf73fee733bda9c99005c447205df2299e14 (patch)
tree46067eb053031ca41689c95d031e47830e8d2532 /src/logger.cpp
parent43ea75c0b3b64f1ebde2c7048a64d1f5bb3242fe (diff)
Get rid of more unneeded parent classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 19e07e78f..f1bbaa7ea 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -352,10 +352,6 @@ FileWriter::FileWriter(FILE* logfile)
{
}
-void FileWriter::HandleEvent(EventType ev, int)
-{
-}
-
void FileWriter::WriteLogLine(const std::string &line)
{
if (log == NULL)
@@ -370,7 +366,7 @@ void FileWriter::WriteLogLine(const std::string &line)
}
}
-void FileWriter::Close()
+FileWriter::~FileWriter()
{
if (log)
{
@@ -379,8 +375,3 @@ void FileWriter::Close()
log = NULL;
}
}
-
-FileWriter::~FileWriter()
-{
- this->Close();
-}