1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 16:46:38 +02:00

Cleaned up some code in src/users.cpp that kinda annoyed me.

This commit is contained in:
Naram Qashat
2010-07-27 18:28:16 -04:00
parent 502c985072
commit 92edce8ef9
3 changed files with 41 additions and 63 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ class CommandOSStats : public Command
notice_lang(Config.s_OperServ, u, OPER_STATS_BYTES_READ, TotalRead / 1024);
notice_lang(Config.s_OperServ, u, OPER_STATS_BYTES_WRITTEN, TotalWritten / 1024);
get_user_stats(&count, &mem);
get_user_stats(count, mem);
notice_lang(Config.s_OperServ, u, OPER_STATS_USER_MEM, count, (mem + 512) / 1024);
get_channel_stats(&count, &mem);
notice_lang(Config.s_OperServ, u, OPER_STATS_CHANNEL_MEM, count, (mem + 512) / 1024);