X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ffreenet%2Fidentityintroductionrequester.cpp;h=0e5e3ddb637d27b5dcd478d81ed8a7ffd7cf2496;hb=63376b2a82c3f6cdf2df56b1f134bd7df0aaab3a;hp=c408f483e4477d0d8bf1fea7f6c6318fee5e1ccc;hpb=d8ccfe2b3944adf07d35534459cdda19d15217c8;p=fms.git diff --git a/src/freenet/identityintroductionrequester.cpp b/src/freenet/identityintroductionrequester.cpp index c408f48..0e5e3dd 100644 --- a/src/freenet/identityintroductionrequester.cpp +++ b/src/freenet/identityintroductionrequester.cpp @@ -82,9 +82,10 @@ const bool IdentityIntroductionRequester::HandleAllData(FCPMessage &message) // we don't already know about this id - add it st.Finalize(); date.SetToGMTime(); - st=m_db->Prepare("INSERT INTO tblIdentity(PublicKey,DateAdded) VALUES(?,?);"); + st=m_db->Prepare("INSERT INTO tblIdentity(PublicKey,DateAdded,AddedMethod) VALUES(?,?,?);"); st.Bind(0,xml.GetIdentity()); st.Bind(1,date.Format("%Y-%m-%d %H:%M:%S")); + st.Bind(2,"solved captcha"); st.Step(); } st.Finalize();