summaryrefslogtreecommitdiff
path: root/include/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/logger.h')
-rw-r--r--include/logger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/logger.h b/include/logger.h
index 492f6c20a..8f030b53b 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -18,8 +18,9 @@ class CoreExport LogStream : public classbase
{
protected:
InspIRCd *ServerInstance;
+ int loglvl;
public:
- LogStream(InspIRCd *Instance)
+ LogStream(InspIRCd *Instance, int loglevel) : loglvl(loglevel)
{
this->ServerInstance = Instance;
}