diff options
Diffstat (limited to 'src/core/os_stats.c')
-rw-r--r-- | src/core/os_stats.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/core/os_stats.c b/src/core/os_stats.c index e359c35f2..ddd104e07 100644 --- a/src/core/os_stats.c +++ b/src/core/os_stats.c @@ -21,11 +21,6 @@ int do_stats(User * u); void get_operserv_stats(long *nrec, long *memuse); void myOperServHelp(User * u); -#ifdef _WIN32 -extern MDE struct clone clonelist[CLONE_DETECT_SIZE]; -extern MDE struct clone warnings[CLONE_DETECT_SIZE]; -#endif - /** * Create the command, and tell anope about it. * @param argc Argument count @@ -391,20 +386,6 @@ void get_operserv_stats(long *nrec, long *memuse) Akill *ak; SXLine *sx; - if (CheckClones) { - mem = sizeof(struct clone) * CLONE_DETECT_SIZE * 2; - for (i = 0; i < CLONE_DETECT_SIZE; i++) { - if (clonelist[i].host) { - count++; - mem += strlen(clonelist[i].host) + 1; - } - if (warnings[i].host) { - count++; - mem += strlen(warnings[i].host) + 1; - } - } - } - count += akills.count; mem += akills.capacity; mem += akills.count * sizeof(Akill); |