| 263 |
|
struct AccessItem *aconf; |
| 264 |
|
|
| 265 |
|
conf = make_conf_item(KLINE_TYPE); |
| 266 |
< |
aconf = (struct AccessItem *)map_to_conf(conf); |
| 266 |
> |
aconf = map_to_conf(conf); |
| 267 |
|
|
| 268 |
|
DupString(aconf->host, client_p->host); |
| 269 |
|
DupString(aconf->reason, "idle exceeder"); |
| 556 |
|
{ |
| 557 |
|
if (IsServer(client_p)) |
| 558 |
|
{ |
| 559 |
< |
sendto_realops_flags(UMODE_EXTERNAL, L_ALL, |
| 560 |
< |
"Server %s split from %s", |
| 561 |
< |
client_p->name, client_p->servptr->name); |
| 559 |
> |
sendto_realops_flags(UMODE_EXTERNAL, L_ALL, "Server %s split from %s", |
| 560 |
> |
client_p->name, client_p->servptr->name); |
| 561 |
|
} |
| 562 |
|
else if (IsClient(client_p)) |
| 563 |
|
{ |
| 564 |
+ |
assert(Count.total > 0); |
| 565 |
|
--Count.total; |
| 566 |
|
if (IsOper(client_p)) |
| 567 |
|
--Count.oper; |
| 934 |
|
} |
| 935 |
|
else if (IsClient(source_p)) |
| 936 |
|
{ |
| 937 |
+ |
assert(Count.local > 0); |
| 938 |
|
Count.local--; |
| 939 |
|
|
| 940 |
|
if (IsOper(source_p)) |