Change the handle_server_stats so that the averages (eg. users per

channel) are correctly rounded. Added a divide_rounded() function
that rounds to nearest integer.  This also gets rid of the messy
floating point divisions in that function.



git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@73 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2009-09-22 22:35:23 +00:00
parent 0fc23ba148
commit 5337b226fa
2 changed files with 38 additions and 14 deletions

View File

@@ -1,5 +1,8 @@
[Changes 1.2c01]
* Change the display of server stats so that the averages (eg. users per
channel) are correctly rounded. (caf)
* Reinstate RPL_WHOISACTUALLY numeric - things seem to have stabilised in
the ircd world on this. (caf)