aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-09 19:12:09 +0200
committerGravatar attilamolnar2013-04-10 17:28:08 +0200
commitca0083cba90c8830f5018b73eb715665a8db9dd7 (patch)
tree20d335e4d7c2f886fbce00d494eead769d22c543 /src/modules/m_operprefix.cpp
parentUpdate Window's .gitignore (diff)
downloadinspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.tar.gz
inspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.tar.bz2
inspircd++-ca0083cba90c8830f5018b73eb715665a8db9dd7.zip
Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()
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 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;
}