Add the correct Sone!
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 20:33:20 +0000 (22:33 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 15 Oct 2010 20:33:20 +0000 (22:33 +0200)
src/main/java/net/pterodactylus/sone/core/Core.java

index 3b23113..a0de367 100644 (file)
@@ -410,7 +410,7 @@ public class Core extends AbstractService {
                                        String friendName = configuration.getStringValue(friendPrefix + "/Name").getValue(null);
                                        friendSone.setRequestUri(new FreenetURI(friendKey)).setName(friendName);
                                        soneDownloader.addSone(friendSone);
-                                       sone.addFriend(sone);
+                                       sone.addFriend(friendSone);
                                }
 
                                sone.setModificationCounter(modificationCounter);