This commit is contained in:
Tantrix 2019-12-26 19:54:06 +00:00 committed by GitHub
commit 68ce0178c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -532,7 +532,8 @@ static int check_limits(struct hub_info* hub, struct hub_user* user, struct adc_
if ((user->limits.hub_count_user < hub_get_min_hubs_user(hub) && hub_get_min_hubs_user(hub)) ||
(user->limits.hub_count_registered < hub_get_min_hubs_reg(hub) && hub_get_min_hubs_reg(hub)) ||
(user->limits.hub_count_operator < hub_get_min_hubs_op(hub) && hub_get_min_hubs_op(hub)))
(user->limits.hub_count_operator < hub_get_min_hubs_op(hub) && hub_get_min_hubs_op(hub)) ||
(user->limits.hub_count_total < hub_get_min_hubs_total(hub) && hub_get_min_hubs_total(hub)))
{
return status_msg_user_hub_limit_low;
}