Author: xor
Date: 2008-11-16 16:33:06 +0000 (Sun, 16 Nov 2008)
New Revision: 23650

Modified:
   trunk/plugins/WoT/introduction/IntroductionServer.java
Log:
Bugfix.

Modified: trunk/plugins/WoT/introduction/IntroductionServer.java
===================================================================
--- trunk/plugins/WoT/introduction/IntroductionServer.java      2008-11-16 
16:19:04 UTC (rev 23649)
+++ trunk/plugins/WoT/introduction/IntroductionServer.java      2008-11-16 
16:33:06 UTC (rev 23650)
@@ -283,7 +283,7 @@
                        IntroductionPuzzle p = IntroductionPuzzle.getByURI(db, 
state.getURI());
                        OwnIdentity puzzleOwner = (OwnIdentity)p.getInserter();
                        Identity newIdentity = 
Identity.importIntroductionFromXML(db, mIdentityFetcher, 
result.asBucket().getInputStream());
-                       puzzleOwner.setTrust(db, newIdentity, (byte)0, null); 
/* FIXME: is 0 the proper trust for newly imported identities? */
+                       puzzleOwner.setTrust(db, newIdentity, (byte)50, "Trust 
received by solving a captcha"); /* FIXME: We need null trust. Giving trust by 
solving captchas is a REALLY bad idea */
                        p.setSolved();
                        db.store(p);
                        db.commit();

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to