summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-17 16:53:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-17 16:53:22 +0000
commit8b060bea02efed1b476cdaea50a46e19ff53f341 (patch)
tree010ce514335aa12438e7e595cb3a2cf89908d1a6 /src
parent985c2bd1e6ea0bba467143406b83ba4a9f77fce1 (diff)
These are not percentages
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/commands/cmd_stats.cpp6
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");