/[svn]/ircd-hybrid/trunk/src/hostmask.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/hostmask.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1643 by michael, Sun Nov 4 15:37:10 2012 UTC revision 1644 by michael, Tue Nov 6 22:20:16 2012 UTC
# Line 717  delete_one_address_conf(const char *addr Line 717  delete_one_address_conf(const char *addr
717      {      {
718        dlinkDelete(&arec->node, &atable[hv]);        dlinkDelete(&arec->node, &atable[hv]);
719    
720        if (!conf->clients)        if (!conf->ref_count)
721          conf_free(conf);          conf_free(conf);
722    
723        MyFree(arec);        MyFree(arec);
# Line 754  clear_out_address_conf(void) Line 754  clear_out_address_conf(void)
754    
755        dlinkDelete(&arec->node, &atable[i]);        dlinkDelete(&arec->node, &atable[i]);
756    
757        if (!arec->conf->clients)        if (!arec->conf->ref_count)
758          conf_free(arec->conf);          conf_free(arec->conf);
759        MyFree(arec);        MyFree(arec);
760      }      }
# Line 780  hostmask_send_expiration(struct AddressR Line 780  hostmask_send_expiration(struct AddressR
780      case CONF_GLINE:      case CONF_GLINE:
781        ban_type = 'G';        ban_type = 'G';
782        break;        break;
783        default: break;
784    }    }
785        
786    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
# Line 814  hostmask_expire_temporary(void) Line 815  hostmask_expire_temporary(void)
815            conf_free(arec->conf);            conf_free(arec->conf);
816            MyFree(arec);            MyFree(arec);
817            break;            break;
818            default: break;
819        }        }
820      }      }
821    }    }

Legend:
Removed from v.1643  
changed lines
  Added in v.1644

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28