summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
5eb1074)
(not a bug until
a9536f755 since bans were not referenced before)
del_from_resv_hash(aconf->host, aconf);
break;
}
del_from_resv_hash(aconf->host, aconf);
break;
}
- if (aconf->lifetime != 0 && now < aconf->lifetime)
+ if (aconf->clients > 0 || (aconf->lifetime != 0 && now < aconf->lifetime))
+ {
aconf->status |= CONF_ILLEGAL;
aconf->status |= CONF_ILLEGAL;
else
{
if (aconf->lifetime != 0)
else
{
if (aconf->lifetime != 0)