diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/logger.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/logger.h b/include/logger.h index 4914e86a2..e3b7ee0a5 100644 --- a/include/logger.h +++ b/include/logger.h @@ -147,18 +147,8 @@ class CoreExport LogManager public: - LogManager() - { - noforkstream = NULL; - Logging = false; - } - - ~LogManager() - { - if (noforkstream) - delete noforkstream; - Logging = true; - } + LogManager(); + ~LogManager(); /** Sets up the logstream for -nofork. Called by InspIRCd::OpenLog() and LogManager::OpenFileLogs(). * First time called it creates the nofork stream and stores it in noforkstream. Each call thereafter just readds it to GlobalLogStreams |