Assume the server supports the QNOP command, do not test for it, this is another...
[citadel.git] / textclient / commands.c
index c8d920a3dbac0740395a92fbfa43d3bd1c98b4df..cecbb4d1fa5d073e3263848785db50d243afee46 100644 (file)
@@ -627,10 +627,8 @@ static void really_do_keepalive(void) {
                }
        }
 
-       // If half keepalives are enabled, send a QNOP to the server (if the
-       // server supports it) and then do nothing.
-       if ((keepalives_enabled == KA_HALF)
-           && (ipc_for_signal_handlers->ServInfo.supports_qnop > 0)) {
+       // If half keepalives are enabled, send a QNOP to the server, then do nothing.
+       if (keepalives_enabled == KA_HALF) {
                CtdlIPC_chat_send(ipc_for_signal_handlers, "QNOP");
        }
 }