summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h2
-rw-r--r--include/logger.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 9d00454b4..91aba7862 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -362,7 +362,7 @@ class CoreExport InspIRCd
/** LogManager handles logging.
*/
- LogManager *Logs;
+ LogManager Logs;
/** ModuleManager contains everything related to loading/unloading
* modules.
diff --git a/include/logger.h b/include/logger.h
index 2ea280be8..c56859a62 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -114,7 +114,7 @@ class CoreExport LogStream : public classbase
typedef std::map<FileWriter*, int> FileLogMap;
-class CoreExport LogManager
+class CoreExport LogManager : public fakederef<LogManager>
{
private:
/** Lock variable, set to true when a log is in progress, which prevents further loggging from happening and creating a loop.