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

Comparing ircd-hybrid-7.2/src/s_conf.c (file contents):
Revision 618 by michael, Tue May 23 07:07:53 2006 UTC vs.
Revision 619 by michael, Tue May 23 07:22:23 2006 UTC

# Line 722 | Line 722 | report_confitem_types(struct Client *sou
722                   me.name, source_p->name, 'Y',
723                   conf->name, PingFreq(classitem),
724                   ConFreq(classitem),
725 <                 MaxTotal(classitem), MaxSendq(classitem));
725 >                 MaxTotal(classitem), MaxSendq(classitem),
726 >                 CurrUserCount(classitem));
727      }
728      break;
729  
# Line 1382 | Line 1383 | attach_conf(struct Client *client_p, str
1383        conf->type == OPER_TYPE)
1384    {
1385      struct AccessItem *aconf = map_to_conf(conf);
1386 +    struct ClassItem *aclass = map_to_conf(aconf->class_ptr);
1387  
1388      if (IsConfIllegal(aconf))
1389        return NOT_AUTHORIZED;
1390  
1391      if (conf->type == CLIENT_TYPE)
1390    {
1391      struct ClassItem *aclass = map_to_conf(aconf->class_ptr);
1392
1392        if (cidr_limit_reached(IsConfExemptLimits(aconf),
1393                               &client_p->localClient->ip, aclass))
1394 <        return TOO_MANY;  /* Already at maximum allowed */
1396 <    }
1394 >        return TOO_MANY;    /* Already at maximum allowed */
1395  
1396      CurrUserCount(aclass)++;
1397      aconf->clients++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines