diff options
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r-- | src/modules/m_operprefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp index c7f8b8fe6..0df2ac6d8 100644 --- a/src/modules/m_operprefix.cpp +++ b/src/modules/m_operprefix.cpp @@ -104,7 +104,7 @@ class ModuleOperPrefixMode : public Module * conditions (mw_added and the user being +H) together mean the user is a hidden oper. */ - if (IS_OPER(user) && (!mw_added || !user->IsModeSet('H'))) + if (user->IsOper() && (!mw_added || !user->IsModeSet('H'))) privs.push_back('y'); return MOD_RES_PASSTHRU; } |