aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-04 13:31:03 +0000
committerGravatar Sadie Powell2020-11-04 13:37:14 +0000
commit2310b03ad503a2712f868d52ce37ec6a3943e261 (patch)
treef1fde6b7045d0c545f87809bc2afb3f596f23e4c /src/modules/m_operprefix.cpp
parentMove config typedefs to ServerConfig and use auto in more places. (diff)
Initial support for platform-specific module file extensions.
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index 8678c3d52..b5c6eb77d 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -110,7 +110,7 @@ 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");
+ Module* opermodes = ServerInstance->Modules.Find("opermodes");
ServerInstance->Modules.SetPriority(this, I_OnPostOper, PRIORITY_AFTER, opermodes);
}
};