mirror of
https://github.com/anope/anope.git
synced 2026-06-28 13:36:38 +02:00
added ns_cert
This commit is contained in:
+6
-1
@@ -185,7 +185,12 @@ int validate_user(User *u)
|
||||
u->Collide(na);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!u->IsIdentified() && !u->fingerprint.empty() && na->nc->FindCert(u->fingerprint))
|
||||
{
|
||||
u->SendMessage(NickServ, _("SSL Fingerprint accepted, you are now identified"));
|
||||
u->Identify(na);
|
||||
return 1;
|
||||
}
|
||||
if (!na->nc->HasFlag(NI_SECURE) && u->IsRecognized())
|
||||
{
|
||||
na->last_seen = Anope::CurTime;
|
||||
|
||||
Reference in New Issue
Block a user