diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-17 16:53:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-17 16:53:22 +0000 |
commit | 8b060bea02efed1b476cdaea50a46e19ff53f341 (patch) | |
tree | 010ce514335aa12438e7e595cb3a2cf89908d1a6 | |
parent | 985c2bd1e6ea0bba467143406b83ba4a9f77fce1 (diff) |
These are not percentages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/commands/cmd_stats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index 92be3b5fb..d270a5864 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -213,9 +213,9 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, User* user, str ServerInstance->SE->GetStats(kbitpersec_in, kbitpersec_out, kbitpersec_total); - snprintf(kbitpersec_total_s, 30, "%03.5f%%", kbitpersec_total); - snprintf(kbitpersec_out_s, 30, "%03.5f%%", kbitpersec_out); - snprintf(kbitpersec_in_s, 30, "%03.5f%%", kbitpersec_in); + snprintf(kbitpersec_total_s, 30, "%03.5f", kbitpersec_total); + snprintf(kbitpersec_out_s, 30, "%03.5f", kbitpersec_out); + snprintf(kbitpersec_in_s, 30, "%03.5f", kbitpersec_in); results.push_back(sn+" 249 "+user->nick+" :Bandwidth total: "+ConvToStr(kbitpersec_total_s)+" kilobits/sec"); results.push_back(sn+" 249 "+user->nick+" :Bandwidth out: "+ConvToStr(kbitpersec_out_s)+" kilobits/sec"); |