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

Comparing ircd-hybrid/trunk/src/hostmask.c (file contents):
Revision 1644 by michael, Tue Nov 6 22:20:16 2012 UTC vs.
Revision 1649 by michael, Sat Nov 10 19:27:13 2012 UTC

# Line 749 | Line 749 | clear_out_address_conf(void)
749         * We keep the temporary K-lines and destroy the permanent ones,
750         * just to be confusing :) -A1kmm
751         */
752 <      if (arec->conf->hold || IsConfDatabase(arec->conf))
752 >      if (arec->conf->until || IsConfDatabase(arec->conf))
753          continue;
754  
755        dlinkDelete(&arec->node, &atable[i]);
# Line 801 | Line 801 | hostmask_expire_temporary(void)
801      {
802        struct AddressRec *arec = ptr->data;
803  
804 <      if (!arec->conf->hold || arec->conf->hold > CurrentTime)
804 >      if (!arec->conf->until || arec->conf->until > CurrentTime)
805          continue;
806  
807        switch (arec->type)

Diff Legend

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