diff options
| author | 2012-07-07 13:08:02 +0200 | |
|---|---|---|
| committer | 2012-07-07 13:08:44 +0200 | |
| commit | d1afaa8f90625495a9a5072d283879d6e71ca547 (patch) | |
| tree | 641a47e7490cbd919d5ffe2b1a599406053dcd8f | |
| parent | Merge pull request #223 from Shawn-Smith/insp20+needmoreparams (diff) | |
cmd_stats Remove unused preprocessor stuff (it has been living in stats.cpp for a while)
| -rw-r--r-- | src/commands/cmd_stats.cpp | 11 |
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 |
