Remove unneeded special case for config check

This commit is contained in:
Petar Kapris 2020-12-17 22:32:40 +01:00
parent a0b03ac870
commit f72a68acd9

View file

@ -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 */