ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_resv.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf_resv.c (file contents):
Revision 8314 by michael, Wed Feb 28 17:47:23 2018 UTC vs.
Revision 8473 by michael, Tue Apr 3 12:54:54 2018 UTC

# 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)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)