diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2011-03-12 09:27:16 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2011-03-12 09:27:16 +0100 |
commit | fbae3344ff70f9e035292fdc9a6e09efc2702aed (patch) | |
tree | 440df041a811317db159365a6322bae9cd596643 /modules/core/ns_recover.cpp | |
parent | 95469fde3055e1a257fd4e1027617892b912d07c (diff) |
added ns_cert
Diffstat (limited to 'modules/core/ns_recover.cpp')
-rw-r--r-- | modules/core/ns_recover.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/ns_recover.cpp b/modules/core/ns_recover.cpp index a994218b8..2118858f5 100644 --- a/modules/core/ns_recover.cpp +++ b/modules/core/ns_recover.cpp @@ -68,7 +68,8 @@ class CommandNSRecover : public Command } else { - if (u->Account() == na->nc || (!na->nc->HasFlag(NI_SECURE) && is_on_access(u, na->nc))) + if (u->Account() == na->nc || (!na->nc->HasFlag(NI_SECURE) && is_on_access(u, na->nc)) || + (!u->fingerprint.empty() && na->nc->FindCert(u->fingerprint))) { u2->SendMessage(NickServ, _(FORCENICKCHANGE_NOW)); u2->Collide(na); |