diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_whowas.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/coremods/core_whowas.cpp b/src/coremods/core_whowas.cpp index 0227fdb51..5fb508fd0 100644 --- a/src/coremods/core_whowas.cpp +++ b/src/coremods/core_whowas.cpp @@ -80,14 +80,12 @@ CmdResult CommandWhowas::Handle (const std::vector<std::string>& parameters, Use std::string CommandWhowas::GetStats() { int whowas_size = 0; - int whowas_bytes = 0; for (whowas_users::iterator i = whowas.begin(); i != whowas.end(); ++i) { whowas_set* n = i->second; whowas_size += n->size(); - whowas_bytes += (sizeof(whowas_set) + ( sizeof(WhoWasGroup) * n->size() ) ); } - return "Whowas entries: " +ConvToStr(whowas_size)+" ("+ConvToStr(whowas_bytes)+" bytes)"; + return "Whowas entries: " + ConvToStr(whowas_size); } void CommandWhowas::AddToWhoWas(User* user) |