From: David ‘Bombe’ Roden Date: Fri, 19 Jun 2009 05:50:00 +0000 (+0200) Subject: Fix wrong command name. X-Git-Tag: v0.1.1~26 X-Git-Url: https://git.pterodactylus.net/?p=jFCPlib.git;a=commitdiff_plain;h=0adc236dd31b70a349a2100760b8ca3747e54892 Fix wrong command name. --- diff --git a/src/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java b/src/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java index 1649ce8..bbc825f 100644 --- a/src/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java +++ b/src/net/pterodactylus/fcp/plugin/WebOfTrustPlugin.java @@ -212,7 +212,7 @@ public class WebOfTrustPlugin { * if an FCP error occurs */ public Set getIdentitesByScore(OwnIdentity ownIdentity, String context, Boolean positive) throws IOException, FcpException { - Map replies = fcpClient.sendPluginMessage("plugins.WoT.WoT", createParameters("Message", "GetIdentitesByScore", "TreeOwner", ownIdentity.getIdentifier(), "Context", context, "Selection", ((positive == null) ? "0" : (positive ? "+" : "-")))); + Map replies = fcpClient.sendPluginMessage("plugins.WoT.WoT", createParameters("Message", "GetIdentitiesByScore", "TreeOwner", ownIdentity.getIdentifier(), "Context", context, "Selection", ((positive == null) ? "0" : (positive ? "+" : "-")))); if (!replies.get("Message").equals("Identities")) { throw new FcpException("WebOfTrust Plugin did not reply with “Identities” message!"); }