From f72a68acd97c62874f4a85b141eea0697b686d63 Mon Sep 17 00:00:00 2001 From: Petar Kapris Date: Thu, 17 Dec 2020 22:32:40 +0100 Subject: [PATCH] Remove unneeded special case for config check --- timeoutd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/timeoutd.c b/timeoutd.c index 841ad90..90a23d4 100644 --- a/timeoutd.c +++ b/timeoutd.c @@ -866,8 +866,6 @@ void check_idle() /* Only check user if he is mentioned in the config */ - if (!config[0]) - return; /* no entries in config */ while (config[++aktconfigline] && aktconfigline >= 0) if (chkmatch(user, config[aktconfigline]->users)) { aktconfigline = -2; /* we found user in config, so he/they has/have restrictions */