summaryrefslogtreecommitdiff
path: root/src/modules/m_hideoper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hideoper.cpp')
-rw-r--r--src/modules/m_hideoper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 8294f5390..b9ea5fa2a 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -20,7 +20,7 @@
class HideOper : public ModeHandler
{
public:
- HideOper(InspIRCd* Instance, Module* Creator) : ModeHandler(Creator, 'H', PARAM_NONE, MODETYPE_USER)
+ HideOper(Module* Creator) : ModeHandler(Creator, 'H', PARAM_NONE, MODETYPE_USER)
{
oper = true;
}
@@ -52,8 +52,8 @@ class ModuleHideOper : public Module
{
HideOper hm;
public:
- ModuleHideOper(InspIRCd* Me)
- : Module(Me), hm(Me, this)
+ ModuleHideOper()
+ : hm(this)
{
if (!ServerInstance->Modes->AddMode(&hm))