mirror of
https://github.com/znc/znc.git
synced 2026-07-31 05:53:38 +02:00
webadmin: use CIRCNetwork::ClearTrustedFingerprints()
This commit is contained in:
@@ -1049,9 +1049,7 @@ public:
|
||||
}
|
||||
|
||||
WebSock.GetRawParam("fingerprints").Split("\n", vsArgs);
|
||||
while (!pNetwork->GetTrustedFingerprints().empty()) {
|
||||
pNetwork->DelTrustedFingerprint(*pNetwork->GetTrustedFingerprints().begin());
|
||||
}
|
||||
pNetwork->ClearTrustedFingerprints();
|
||||
for (const CString& sFP : vsArgs) {
|
||||
pNetwork->AddTrustedFingerprint(sFP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user