summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_override.cpp')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 41b57b327..224a18ae4 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -36,6 +36,8 @@ class ModuleOverride : public Module
ServerInstance->SNO->EnableSnomask('O',"OVERRIDE");
OverriddenMode = false;
OverOps = OverDeops = OverVoices = OverDevoices = OverHalfops = OverDehalfops = 0;
+ Implementation eventlist[] = { I_OnRehash, I_OnAccessCheck, I_On005Numeric, I_OnUserPreJoin, I_OnUserPreKick, I_OnPostCommand };
+ ServerInstance->Modules->Attach(eventlist, this, 6);
}
virtual void OnRehash(User* user, const std::string &parameter)