From 55b81f917cd313a8814d3364048af0036b41a2ca Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 30 Oct 2009 19:54:47 +0000 Subject: Clean up typos and some unused code git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11980 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_whowas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/commands') diff --git a/src/commands/cmd_whowas.cpp b/src/commands/cmd_whowas.cpp index a11b02b2d..34e7e74e0 100644 --- a/src/commands/cmd_whowas.cpp +++ b/src/commands/cmd_whowas.cpp @@ -97,8 +97,7 @@ std::string CommandWhowas::GetStats() whowas_bytes += (sizeof(whowas_set) + ( sizeof(WhoWasGroup) * n->size() ) ); } } - stats.assign("Whowas(MAPSETS) " +ConvToStr(whowas_size)+" ("+ConvToStr(whowas_bytes)+" bytes)"); - return stats; + return "Whowas entries: " +ConvToStr(whowas_size)+" ("+ConvToStr(whowas_bytes)+" bytes)"; } void CommandWhowas::AddToWhoWas(User* user) -- cgit v1.2.3