diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-06-24 18:08:23 +0200 |
---|---|---|
committer | Robin Burchell <robin+git@viroteck.net> | 2012-06-30 00:12:24 +0200 |
commit | 77630814c03148cbb1c532dcfcb37b0e1dbfa9df (patch) | |
tree | 0d3638457e8c9071a3f76a787b74261f13092da6 /src | |
parent | a9151705c34312aa2bb1880dcb3cbbae2970ad5a (diff) |
m_operlevels Remove unused hook
Diffstat (limited to 'src')
-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) |