Refactor FCP dialog
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / UnsubscribeUskCommandImpl.java
index 3755a05..288903f 100644 (file)
@@ -46,12 +46,8 @@ public class UnsubscribeUskCommandImpl implements UnsubscribeUskCommand {
        private class UnsubscribeUskDialog extends FcpDialog<Void> {
 
                public UnsubscribeUskDialog() throws IOException {
-                       super(threadPool, connectionSupplier.get());
-               }
-
-               @Override
-               protected boolean isFinished() {
-                       return true;
+                       super(threadPool, connectionSupplier.get(), null);
+                       finish();
                }
 
        }