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

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

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

revision 6548 by michael, Sat Aug 29 18:49:58 2015 UTC revision 6549 by michael, Sat Sep 19 16:53:27 2015 UTC
# Line 989  int Line 989  int
989  conf_connect_allowed(struct irc_ssaddr *addr, int aftype)  conf_connect_allowed(struct irc_ssaddr *addr, int aftype)
990  {  {
991    struct ip_entry *ip_found = NULL;    struct ip_entry *ip_found = NULL;
992    struct MaskItem *const conf = find_dline_conf(addr, aftype);    const struct MaskItem *conf = find_dline_conf(addr, aftype);
   
   /* DLINE exempt also gets you out of static limits/pacing... */  
   if (conf && (conf->type == CONF_EXEMPT))  
     return 0;  
993    
994    if (conf)    if (conf)
995      {
996        /* DLINE exempt also gets you out of static limits/pacing... */
997        if (conf->type == CONF_EXEMPT)
998          return 0;
999      return BANNED_CLIENT;      return BANNED_CLIENT;
1000      }
1001    
1002    ip_found = ipcache_find_or_add_address(addr);    ip_found = ipcache_find_or_add_address(addr);
1003    

Legend:
Removed from v.6548  
changed lines
  Added in v.6549

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