summaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index 0ca13b2da..f537aa9d8 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -23,6 +23,8 @@ class ModuleOperLog : public Module
ModuleOperLog(InspIRCd* Me) : Module(Me)
{
+ Implementation eventlist[] = { I_OnPreCommand, I_On005Numeric };
+ ServerInstance->Modules->Attach(eventlist, this, 2);
}
virtual ~ModuleOperLog()