Do not decide whether we are blocking or not based on the gravity count (pre-v5.0 measure) but use the dedicated blockingstatus variable.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-04-23 10:08:42 +02:00
parent 5ad55e82b6
commit fb5cfe06fd
+1 -1
View File
@@ -123,7 +123,7 @@ void getStats(const int *sock)
// Send status
if(istelnet[*sock]) {
ssend(*sock, "status %s\n", counters->gravity > 0 ? "enabled" : "disabled");
ssend(*sock, "status %s\n", blockingstatus ? "enabled" : "disabled");
}
else
pack_uint8(*sock, blockingstatus);