File: throttle.hack

package info (click to toggle)
ircd 2.10.07-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,232 kB
  • ctags: 2,253
  • sloc: ansic: 27,541; makefile: 742; sh: 327; perl: 18
file content (14 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --minimal --new-file --recursive --show-c-function --unified=3 orig/ircd/IPcheck.c build/ircd/IPcheck.c
--- orig/ircd/IPcheck.c	Wed Jan 27 11:29:02 1999
+++ build/ircd/IPcheck.c	Sun Jan 31 04:58:09 1999
@@ -94,8 +94,8 @@ static struct IPregistry_vector IPregist
 #define CONNECTED_SINCE(x) ((unsigned short)((now & BITMASK) - (x)->last_connect))
 
 #define IPCHECK_CLONE_LIMIT 2
-#define IPCHECK_CLONE_PERIOD 20
-#define IPCHECK_CLONE_DELAY 600
+#define IPCHECK_CLONE_PERIOD 5
+#define IPCHECK_CLONE_DELAY 60
 
 #define HAS_TARGETS_MAGIC 15
 #define HAS_TARGETS(entry) ((entry)->free_targets == HAS_TARGETS_MAGIC)