aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqloper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_sqloper.cpp')
-rw-r--r--src/modules/extra/m_sqloper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 2bfedc911..6e7d2a44a 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -49,6 +49,8 @@ public:
throw ModuleException("Can't find m_sqlutils.so. Please load m_sqlutils.so before m_sqloper.so.");
OnRehash(NULL,"");
+ Implementation eventlist[] = { I_OnRequest, I_OnRehash, I_OnPreCommand };
+ ServerInstance->Modules->Attach(eventlist, this, 3);
}
virtual ~ModuleSQLOper()