diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_samode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index db3345b98..634464ac2 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -124,8 +124,8 @@ class ModuleSaMode : public Module void Prioritize() CXX11_OVERRIDE { - Module* disabled = ServerInstance->Modules->Find("m_disabled.so"); - ServerInstance->Modules->SetPriority(this, I_OnRawMode, PRIORITY_BEFORE, disabled); + Module* disable = ServerInstance->Modules->Find("m_disable.so"); + ServerInstance->Modules->SetPriority(this, I_OnRawMode, PRIORITY_BEFORE, disable); Module *override = ServerInstance->Modules->Find("m_override.so"); ServerInstance->Modules->SetPriority(this, I_OnPreMode, PRIORITY_BEFORE, override); |