diff options
Diffstat (limited to 'src/modules/m_regonlycreate.cpp')
-rw-r--r-- | src/modules/m_regonlycreate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp index 22bf42a61..9d4cd5f60 100644 --- a/src/modules/m_regonlycreate.cpp +++ b/src/modules/m_regonlycreate.cpp @@ -39,7 +39,7 @@ class ModuleRegOnlyCreate : public Module if (chan) return MOD_RES_PASSTHRU; - if (IS_OPER(user)) + if (user->IsOper()) return MOD_RES_PASSTHRU; if (user->IsModeSet('r')) |