diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-07-22 21:13:32 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-07-22 21:13:32 +0000 |
commit | 570acfa25f7815bd75ed4d8dad286be3b51b7191 (patch) | |
tree | e9520adcf833df6131e771fa3acbbb045e84a2a3 /src/core/os_stats.c | |
parent | fff701c65b7c544a26d31f75b5d6a36918817a0c (diff) |
# BUILD : 1.7.14 (1099) # BUGS : # NOTES : removed all that clone stuff
git-svn-id: svn://svn.anope.org/anope/trunk@1099 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@823 5417fbe8-f217-4b02-8779-1006273d7864
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); |