summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-06-24 18:08:23 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-06-30 00:12:24 +0200
commit77630814c03148cbb1c532dcfcb37b0e1dbfa9df (patch)
tree0d3638457e8c9071a3f76a787b74261f13092da6
parenta9151705c34312aa2bb1880dcb3cbbae2970ad5a (diff)
m_operlevels Remove unused hook
-rw-r--r--src/modules/m_operlevels.cpp13
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)