mirror of
https://github.com/anope/anope.git
synced 2026-07-04 09:43:13 +02:00
Fixed automatic fingerprint identify on nickchange between registered nicks
This commit is contained in:
@@ -34,7 +34,7 @@ class MyNickServService : public NickServService
|
||||
return;
|
||||
}
|
||||
|
||||
if (!u->IsIdentified() && !u->fingerprint.empty() && na->nc->FindCert(u->fingerprint))
|
||||
if (!(u->Account() == na->nc) && !u->fingerprint.empty() && na->nc->FindCert(u->fingerprint))
|
||||
{
|
||||
u->SendMessage(NickServ, _("SSL Fingerprint accepted, you are now identified."));
|
||||
Log(u) << "automatically identified for account " << na->nc->display << " using a valid SSL fingerprint.";
|
||||
|
||||
Reference in New Issue
Block a user