1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 07:23:13 +02:00

- Added set::options::dont-resolve (=hostnames of incomming clients won't be resolved).

This is more usefull than the no nameserver + useip solution since with this no resolving
is done for incomming clients, but connecting to other servers (with hostnames) still works fine ;P.
This commit is contained in:
Bram Matthys
2003-02-22 22:34:40 +00:00
parent 4795a45150
commit 8fbb67818b
5 changed files with 15 additions and 0 deletions
+2
View File
@@ -61,6 +61,7 @@ struct zConfiguration {
unsigned ident_check:1;
unsigned fail_oper_warn:1;
unsigned show_connect_info:1;
unsigned dont_resolve:1;
unsigned use_egd;
long host_timeout;
int host_retries;
@@ -103,6 +104,7 @@ extern aConfiguration iConf;
#define MAXCHANNELSPERUSER iConf.maxchannelsperuser
#define WEBTV_SUPPORT iConf.webtv_support
#define NO_OPER_HIDING iConf.no_oper_hiding
#define DONT_RESOLVE iConf.dont_resolve
#define AUTO_JOIN_CHANS iConf.auto_join_chans
#define OPER_AUTO_JOIN_CHANS iConf.oper_auto_join_chans
#define HOST_TIMEOUT iConf.host_timeout