diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-09-18 15:13:09 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-09-22 01:01:46 +0200 |
commit | d16122e98a1630d3ea96ff80dc3ea262660fd502 (patch) | |
tree | 7f7c29da1beabc8650ec42dc8eed2bd3fceabb84 | |
parent | 6747c5f3f8d677bd553699710c1b99f5ae98f309 (diff) |
client: Remove unnecessary active_client check
-rw-r--r-- | seatd/client.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/seatd/client.c b/seatd/client.c index bf339d9..31a3fd5 100644 --- a/seatd/client.c +++ b/seatd/client.c @@ -295,13 +295,6 @@ static int handle_disable_seat(struct client *client) { return -1; } - struct seat *seat = client->seat; - if (seat->active_client != client) { - log_info("client is not currently active"); - errno = EPERM; - goto error; - } - if (seat_ack_disable_client(client) == -1) { goto error; } |