aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:16:33 +0000
committerGravatar Sadie Powell2019-02-07 12:16:33 +0000
commit641b2d07ab6868a9fa6726c1bc36cde80005e155 (patch)
tree00f6f16cef0464477d4a890b3c21793557c2c537 /src/modules/m_operprefix.cpp
parentModeParser: remove fakederef. (diff)
downloadinspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.gz
inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.tar.bz2
inspircd++-641b2d07ab6868a9fa6726c1bc36cde80005e155.zip
ModuleManager: remove fakederef.
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index 622c48db9..4ecbc84fb 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -107,8 +107,8 @@ class ModuleOperPrefixMode : public Module
void Prioritize() override
{
// m_opermodes may set +H on the oper to hide him, we don't want to set the oper prefix in that case
- Module* opermodes = ServerInstance->Modules->Find("m_opermodes.so");
- ServerInstance->Modules->SetPriority(this, I_OnPostOper, PRIORITY_AFTER, opermodes);
+ Module* opermodes = ServerInstance->Modules.Find("m_opermodes.so");
+ ServerInstance->Modules.SetPriority(this, I_OnPostOper, PRIORITY_AFTER, opermodes);
}
};