]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_stats.c
Need to initialize linebuf separately.
[irc/rqf/shadowircd.git] / src / s_stats.c
index 59022b002cd7caf96ab532a26f64454a4a568d99..c972293a3344cd948e6f0529db3ce17746fe0aaf 100644 (file)
 /*
  * stats stuff
  */
-struct ServerStatistics ServerStats;
+static struct ServerStatistics ircst;
+struct ServerStatistics *ServerStats = &ircst;
 
 void
 init_stats()
 {
-       /* XXX nothing to do - was ServerStats init -- dwr */
+       memset(&ircst, 0, sizeof(ircst));
 }
 
 /*