Change the default ident timeout time to 5s to not be as annoying

to clients that don't send an ident and add a TODO item for 6.2 to
make ident timeout time configurable in the ircd.conf.

Currently it's only configurable in the include/defaults.h (ugly)
or on-the-fly with /set (doesn't persist, have to re-set it on each
restart/server).
This commit is contained in:
JD Horelick 2010-04-04 17:13:04 -04:00
parent a5687a4cf7
commit 4369131cc7
2 changed files with 2 additions and 1 deletions

View File

@ -12,3 +12,4 @@ Todo list for ShadowIRCd 6.2
* pure TS6 compat mode for linking with charybdis/ratbox/etc.
* TBAN equivalent (like a extban?) (?)
* ELINE - command to make users kline/dline/xline exempt on-the-fly
* Add a configuration option to set the ident_timeout time.

View File

@ -55,7 +55,7 @@
#define CLIENT_FLOOD_MIN 10
#define LINKS_DELAY_DEFAULT 300
#define MAX_TARGETS_DEFAULT 4 /* default for max_targets */
#define IDENT_TIMEOUT 10
#define IDENT_TIMEOUT 5
#define MIN_JOIN_LEAVE_TIME 60
#define MAX_JOIN_LEAVE_COUNT 25
#define OPER_SPAM_COUNTDOWN 5