diff options
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r-- | src/modules/m_operlevels.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp index da506dd58..7e28f6c21 100644 --- a/src/modules/m_operlevels.cpp +++ b/src/modules/m_operlevels.cpp @@ -29,17 +29,7 @@ class ModuleOperLevels : public Module public: ModuleOperLevels() { - Implementation eventlist[] = { I_OnRehash, I_OnKill }; - ServerInstance->Modules->Attach(eventlist, this, 2); - } - - virtual ~ModuleOperLevels() - { - } - - - virtual void OnRehash(User* user) - { + ServerInstance->Modules->Attach(I_OnKill, this); } virtual Version GetVersion() @@ -64,7 +54,6 @@ class ModuleOperLevels : public Module } return MOD_RES_PASSTHRU; } - }; MODULE_INIT(ModuleOperLevels) |