summaryrefslogtreecommitdiff
path: root/src/cmd_stats.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-01 22:34:16 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-01 22:34:16 +0000
commite430e58c2e6f43471596c0c7ae7afd4733d09b20 (patch)
tree6969ae243f69d0e35a95f9145f3b3800fd4ea1cc /src/cmd_stats.cpp
parent3198b0ba777922c6442735af3f094f61ff1bfb19 (diff)
WIN: As promised when I took it out, whowas stats in /STATS z is now working due to fix in r7201.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7203 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_stats.cpp')
-rw-r--r--src/cmd_stats.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp
index c44042e51..40c0d4d7e 100644
--- a/src/cmd_stats.cpp
+++ b/src/cmd_stats.cpp
@@ -178,7 +178,6 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user,
results.push_back(sn+" 249 "+user->nick+" :Commands(VECTOR) "+ConvToStr(ServerInstance->Parser->cmdlist.size())+" ("+ConvToStr(ServerInstance->Parser->cmdlist.size()*sizeof(command_t))+" bytes)");
#endif
-#ifndef WIN32
if (!ServerInstance->Config->WhoWasGroupSize == 0 && !ServerInstance->Config->WhoWasMaxGroups == 0)
{
command_t* whowas_command = ServerInstance->Parser->GetHandler("WHOWAS");
@@ -196,7 +195,6 @@ DllExport void DoStats(InspIRCd* ServerInstance, char statschar, userrec* user,
}
}
}
-#endif
results.push_back(sn+" 249 "+user->nick+" :MOTD(VECTOR) "+ConvToStr(ServerInstance->Config->MOTD.size())+", RULES(VECTOR) "+ConvToStr(ServerInstance->Config->RULES.size()));
results.push_back(sn+" 249 "+user->nick+" :Modules(VECTOR) "+ConvToStr(ServerInstance->modules.size())+" ("+ConvToStr(ServerInstance->modules.size()*sizeof(Module))+" bytes)");