Fix message name
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / ModifyPeerNote.java
index dbb2ea7..27927aa 100644 (file)
@@ -31,8 +31,8 @@ public class ModifyPeerNote extends FcpMessage {
         *
         * @see PeerNote
         * @param nodeIdentifier
-        *            The identifier of the node, i.e. name, identity, or IP address
-        *            and port
+        *            The identifier of the node, i.e. name, identity, or IP
+        *            address and port
         * @param noteText
         *            The base64-encoded text
         * @param peerNoteType
@@ -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));