diff options
Diffstat (limited to 'modules/commands/ns_recover.cpp')
-rw-r--r-- | modules/commands/ns_recover.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/ns_recover.cpp b/modules/commands/ns_recover.cpp index d0704356d..afbca27f1 100644 --- a/modules/commands/ns_recover.cpp +++ b/modules/commands/ns_recover.cpp @@ -187,6 +187,9 @@ class CommandNSRecover : public Command if (source.GetUser() && !source.GetUser()->fingerprint.empty() && cl && cl->FindCert(source.GetUser()->fingerprint)) ok = true; + if (source.HasPriv("nickserv/recover")) + ok = true; + if (ok == false && !pass.empty()) { NSRecoverRequest *req = new NSRecoverRequest(owner, source, this, na->nick, pass); |