version 0.2.2
[fms.git] / src / freenet / identityintroductionrequester.cpp
index c408f48..0e5e3dd 100644 (file)
@@ -82,9 +82,10 @@ const bool IdentityIntroductionRequester::HandleAllData(FCPMessage &message)
                                // we don't already know about this id - add it\r
                                st.Finalize();\r
                                date.SetToGMTime();\r
-                               st=m_db->Prepare("INSERT INTO tblIdentity(PublicKey,DateAdded) VALUES(?,?);");\r
+                               st=m_db->Prepare("INSERT INTO tblIdentity(PublicKey,DateAdded,AddedMethod) VALUES(?,?,?);");\r
                                st.Bind(0,xml.GetIdentity());\r
                                st.Bind(1,date.Format("%Y-%m-%d %H:%M:%S"));\r
+                               st.Bind(2,"solved captcha");\r
                                st.Step();\r
                        }\r
                        st.Finalize();\r