unsigned int is_tgch; /* messages blocked due to target change */
};
-extern struct ServerStatistics *ServerStats;
+extern struct ServerStatistics ServerStats;
extern void init_stats(void);
extern void tstats(struct Client *client);
int maxconnections; /* XXX */
int ssl_ok = 0;
+struct ServerStatistics ServerStats;
+
/*
* print_startup - print startup information
*/
memset((void *) &Count, 0, sizeof(Count));
memset((void *) &ServerInfo, 0, sizeof(ServerInfo));
memset((void *) &AdminInfo, 0, sizeof(AdminInfo));
+ memset(&ServerStats, 0, sizeof(struct ServerStatistics));
/* Initialise the channel capability usage counts... */
init_chcap_usage_counts();
/*
* stats stuff
*/
-static struct ServerStatistics ircst;
-struct ServerStatistics *ServerStats = &ircst;
+struct ServerStatistics ServerStats;
void
init_stats()