summaryrefslogtreecommitdiff
path: root/modules/core/ns_cert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_cert.cpp')
-rw-r--r--modules/core/ns_cert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_cert.cpp b/modules/core/ns_cert.cpp
index 5581149f6..5604f680d 100644
--- a/modules/core/ns_cert.cpp
+++ b/modules/core/ns_cert.cpp
@@ -134,7 +134,7 @@ class CommandNSCert : public Command
const Anope::string &mask = params.size() > 1 ? params[1] : "";
NickAlias *na;
- if (cmd.equals_ci("LIST") && u->Account()->IsServicesOper() && !mask.empty() && (na = findnick(mask)))
+ if (cmd.equals_ci("LIST") && u->IsServicesOper() && !mask.empty() && (na = findnick(mask)))
return this->DoServAdminList(source, na->nc);
if (u->Account()->HasFlag(NI_SUSPENDED))