diff options
Diffstat (limited to 'src/modules/m_chanlog.cpp')
-rw-r--r-- | src/modules/m_chanlog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chanlog.cpp b/src/modules/m_chanlog.cpp index f2c2f6c6f..123b20164 100644 --- a/src/modules/m_chanlog.cpp +++ b/src/modules/m_chanlog.cpp @@ -32,7 +32,8 @@ class ModuleChanLog : public Module ChanLogTargets logstreams; public: - ModuleChanLog() { + void init() + { Implementation eventlist[] = { I_OnRehash, I_OnSendSnotice }; ServerInstance->Modules->Attach(eventlist, this, 2); |