# | Line 207 | Line 207 | resv_clear(void) | |
---|---|---|
207 | { | |
208 | struct ResvItem *resv = node->data; | |
209 | ||
210 | < | if (!resv->in_database) |
210 | > | if (resv->in_database == 0) |
211 | resv_delete(resv); | |
212 | } | |
213 | } | |
# | Line 226 | Line 226 | resv_expire(void) | |
226 | { | |
227 | struct ResvItem *resv = node->data; | |
228 | ||
229 | < | if (!resv->expire || resv->expire > CurrentTime) |
229 | > | if (resv->expire == 0 || resv->expire > CurrentTime) |
230 | continue; | |
231 | ||
232 | if (ConfigGeneral.tkline_expire_notices) |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |