summaryrefslogtreecommitdiff
path: root/src/commands/cmd_stats.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-07 13:08:02 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-07 13:08:44 +0200
commitd1afaa8f90625495a9a5072d283879d6e71ca547 (patch)
tree641a47e7490cbd919d5ffe2b1a599406053dcd8f /src/commands/cmd_stats.cpp
parent557269cdcafef119ea031d7af91d1ac0c25eebd4 (diff)
cmd_stats Remove unused preprocessor stuff (it has been living in stats.cpp for a while)
Diffstat (limited to 'src/commands/cmd_stats.cpp')
-rw-r--r--src/commands/cmd_stats.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp
index 6944a4c44..244bb44c3 100644
--- a/src/commands/cmd_stats.cpp
+++ b/src/commands/cmd_stats.cpp
@@ -20,17 +20,6 @@
#include "inspircd.h"
-#ifndef WIN32
- #include <sys/resource.h>
- /* This is just to be completely certain that the change which fixed getrusage on RH7 doesn't break anything else -- Om */
- #ifndef RUSAGE_SELF
- #define RUSAGE_SELF 0
- #endif
-#else
- #include <psapi.h>
- #include "inspircd_win32wrapper.h"
- #pragma comment(lib, "psapi.lib")
-#endif
/** Handle /STATS. These command handlers can be reloaded by the core,
* and handle basic RFC1459 commands. Commands within modules work