53 |
|
#include "s_log.h" |
54 |
|
#include "s_misc.h" |
55 |
|
#include "s_serv.h" /* try_connections */ |
56 |
– |
#include "s_stats.h" |
56 |
|
#include "send.h" |
57 |
|
#include "whowas.h" |
58 |
|
#include "modules.h" |
80 |
|
struct Counter Count = { 0, 0, 0, 0, 0, 0, 0, 0 }; |
81 |
|
struct ServerState_t server_state = { 0 }; |
82 |
|
struct logging_entry ConfigLoggingEntry = { 1, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} }; |
83 |
+ |
struct ServerStatistics ServerStats; |
84 |
|
struct timeval SystemTime; |
85 |
|
struct Client me; /* That's me */ |
86 |
|
struct LocalUser meLocalUser; /* That's also part of me */ |
282 |
|
{ |
283 |
|
struct Client *client_p = ptr->data; |
284 |
|
assert(client_p->localClient->list_task); |
285 |
< |
safe_list_channels(client_p, client_p->localClient->list_task, 0, 0); |
285 |
> |
safe_list_channels(client_p, client_p->localClient->list_task, 0); |
286 |
|
} |
287 |
|
} |
288 |
|
|
569 |
|
of Client list */ |
570 |
|
|
571 |
|
memset(&ServerInfo, 0, sizeof(ServerInfo)); |
572 |
+ |
memset(&ServerStats, 0, sizeof(ServerStats)); |
573 |
|
|
574 |
|
/* Initialise the channel capability usage counts... */ |
575 |
|
init_chcap_usage_counts(); |
642 |
|
init_class(); |
643 |
|
init_whowas(); |
644 |
|
watch_init(); |
644 |
– |
init_stats(); |
645 |
|
read_conf_files(1); /* cold start init conf files */ |
646 |
|
me.id[0] = '\0'; |
647 |
|
init_uid(); |