Fix “isClosed” method
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpConnection.java
index 0eda39d..34f47fd 100644 (file)
@@ -157,7 +157,7 @@ public class FcpConnection implements Closeable {
        }
 
        public synchronized boolean isClosed() {
-               return connectionHandler != null;
+               return connectionHandler == null;
        }
 
        //