don't use deprecated method
[jFCPlib.git] / src / net / pterodactylus / fcp / highlevel / HighLevelClient.java
index 1b52e72..d5252ad 100644 (file)
@@ -231,7 +231,7 @@ public class HighLevelClient {
         * Disconnects the client from the node.
         */
        public void disconnect() {
-               fcpConnection.disconnect();
+               fcpConnection.close();
        }
 
        /**