diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index e134e5af5..c36547adb 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -464,6 +464,8 @@ bool User::IsServicesOper() if (!this->nc || !this->nc->o) // No opertype. return false; + else if (this->nc->o->require_oper && !this->HasMode(UMODE_OPER)) + return false; else if (!this->nc->o->certfp.empty() && this->fingerprint != this->nc->o->certfp) // Certfp mismatch return false; |