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 |
|
|
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++; |