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-8/src/hostmask.c (file contents):
Revision 1393 by michael, Wed May 2 19:17:37 2012 UTC vs.
Revision 1426 by michael, Wed Jun 6 09:17:12 2012 UTC

# Line 577 | Line 577 | find_address_conf(const char *host, cons
577   {
578    struct AccessItem *iconf, *kconf;
579  
580 <  /* Find the best I-line... If none, return NULL -A1kmm */
580 >  /* Find the best auth{} block... If none, return NULL -A1kmm */
581    if ((iconf = find_conf_by_address(host, ip, CONF_CLIENT, aftype, user,
582                                      password, 1)) == NULL)
583      return NULL;
584  
585 <  /* If they are exempt from K-lines, return the best I-line. -A1kmm */
585 >  /* If they are exempt from K-lines, return the best auth{} block. -A1kmm */
586    if (IsConfExemptKline(iconf))
587      return iconf;
588  
589    /* Find the best K-line... -A1kmm */
590    kconf = find_conf_by_address(host, ip, CONF_KLINE, aftype, user, NULL, 1);
591  
592 <  /* If they are K-lined, return the K-line. Otherwise, return the
593 <   * I-line. -A1kmm */
592 >  /*
593 >   * If they are K-lined, return the K-line. Otherwise, return the
594 >   * auth{} block. -A1kmm
595 >   */
596    if (kconf != NULL)
597      return kconf;
598  

Diff Legend

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