54 |
|
#include "msg.h" |
55 |
|
#include "watch.h" |
56 |
|
|
57 |
< |
unsigned int MaxClientCount = 1; |
58 |
< |
unsigned int MaxConnectionCount = 1; |
57 |
> |
|
58 |
|
struct Callback *entering_umode_cb = NULL; |
59 |
|
struct Callback *umode_cb = NULL; |
60 |
|
|
233 |
|
|
234 |
|
if (!ConfigServerHide.hide_servers || IsOper(source_p)) |
235 |
|
sendto_one(source_p, form_str(RPL_STATSCONN), from, to, |
236 |
< |
MaxConnectionCount, MaxClientCount, Count.totalrestartcount); |
236 |
> |
Count.max_loc_con, Count.max_loc_cli, Count.totalrestartcount); |
237 |
|
|
238 |
< |
if (Count.local > MaxClientCount) |
239 |
< |
MaxClientCount = Count.local; |
238 |
> |
if (Count.local > Count.max_loc_cli) |
239 |
> |
Count.max_loc_cli = Count.local; |
240 |
|
|
241 |
< |
if ((Count.local + Count.myserver) > MaxConnectionCount) |
242 |
< |
MaxConnectionCount = Count.local + Count.myserver; |
241 |
> |
if ((Count.local + Count.myserver) > Count.max_loc_con) |
242 |
> |
Count.max_loc_con = Count.local + Count.myserver; |
243 |
|
} |
244 |
|
|
245 |
|
/* show_isupport() |