X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fidentitytestglobal.cpp;h=4b40288d4bb35340d090e1ba323592fbb2d8845d;hp=9297101cd27983f82aa964c4ffa7cad5cf12aabb;hb=9048d8e482c91960265f29c2b5b3112f2a52f3d8;hpb=1b0c3b7f86935a772aad271bad4f3d1f37243c2d diff --git a/src/identitytestglobal.cpp b/src/identitytestglobal.cpp index 9297101..4b40288 100644 --- a/src/identitytestglobal.cpp +++ b/src/identitytestglobal.cpp @@ -132,7 +132,7 @@ void SetupDB() ROUND(SUM(MessageTrust*(LocalMessageTrust/100.0))/SUM(LocalMessageTrust/100.0),0) AS 'PeerMessageTrust', \ ROUND(SUM(TrustListTrust*(LocalTrustListTrust/100.0))/SUM(LocalTrustListTrust/100.0),0) AS 'PeerTrustListTrust' \ FROM tblPeerTrust INNER JOIN tblIdentity ON tblPeerTrust.IdentityID=tblIdentity.IdentityID \ - WHERE LocalTrustListTrust>(SELECT OptionValue FROM tblOption WHERE Option='MinLocalTrustListTrust') \ + WHERE LocalTrustListTrust>=(SELECT OptionValue FROM tblOption WHERE Option='MinLocalTrustListTrust') \ GROUP BY TargetIdentityID;"); // update PeerTrustLevel when deleting a record from tblPeerTrust @@ -186,7 +186,7 @@ void SetupDefaultOptions() // StartFreenetUpdater st.Bind(0,"StartFreenetUpdater"); st.Bind(1,"true"); - st.Bind(2,"Start Freenet Updater."); + st.Bind(2,"Start Freenet Updater thread."); st.Step(); st.Reset();