From 8b060bea02efed1b476cdaea50a46e19ff53f341 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Aug 2008 16:53:22 +0000 Subject: These are not percentages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10150 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_stats.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3