Fix parsing of boolean value
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 21 Aug 2015 05:07:53 +0000 (07:07 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 21 Aug 2015 05:07:53 +0000 (07:07 +0200)
src/main/java/net/pterodactylus/fcp/PluginInfo.java

index 059a47a..fa23f84 100644 (file)
@@ -70,7 +70,7 @@ public class PluginInfo extends BaseMessage implements Identifiable {
         *         otherwise
         */
        public boolean isStarted() {
-               return Boolean.valueOf("Started");
+               return Boolean.valueOf(getField("Started"));
        }
 
 }