mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
We now have a central function CZNC::GetTrafficStats() which does all the ugly stuff and just returns the data which the caller can then display. We now also include all unknown sockets (e.g. imapauth or webadmin sockets) in the traffic stats in the "<ZNC>" section. The only downside to all this gloriousness is that this breaks the ordering of /msg *status traffic which is now sorted alphabetically which means that <ZNC> <Users> and <Total> aren't anymore in the places in which they used to be. I hope one can live with that... git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1521 726aef4b-f618-498e-8847-2d620e286838
33 KiB
33 KiB