Fix message name
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 14 Jul 2015 17:30:40 +0000 (19:30 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 14 Jul 2015 17:30:40 +0000 (19:30 +0200)
src/main/java/net/pterodactylus/fcp/ModifyPeerNote.java

index 6fcc088..27927aa 100644 (file)
@@ -40,7 +40,7 @@ public class ModifyPeerNote extends FcpMessage {
         *            {@link PeerNote#TYPE_PRIVATE_PEER_NOTE} at the moment
         */
        public ModifyPeerNote(String nodeIdentifier, String noteText, int peerNoteType) {
-               super("ModifyPeer");
+               super("ModifyPeerNote");
                setField("NodeIdentifier", nodeIdentifier);
                setField("NoteText", noteText);
                setField("PeerNoteType", String.valueOf(peerNoteType));