1
0
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:
DukePyrolator
2011-08-24 13:57:40 +02:00
parent 21a8bff011
commit d80e00f5d7
+1 -1
View File
@@ -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.";