From 5439dddde51ddeceba2cd038cba2d4b4d4156976 Mon Sep 17 00:00:00 2001 From: codemastr Date: Sat, 13 Nov 2004 17:51:26 +0000 Subject: [PATCH] Added documentation for set::options::fail-oper-warn, Removed an extra ) in the Throttle disconnect message, Fixed a bug where the "looking up your hostname" message could still be displayed even if hostname resolving was disabled --- Changes | 4 ++++ doc/unreal32docs.html | 4 +++- src/s_bsd.c | 11 +++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Changes b/Changes index f602b41de..6450b554a 100644 --- a/Changes +++ b/Changes @@ -451,3 +451,7 @@ (#0002096) suggested by White_Magic - Added support for using \\ in the config file to indicate a \ (#0002178) reported by TimeFX +- Added documentation for set::options::fail-oper-warn (#0002166) reported by Snake +- Removed an extra ) in the Throttle disconnect message (#0002165) reported by Snake +- Fixed a bug where the "looking up your hostname" message could still be displayed even + if hostname resolving was disabled (#0002161) reported by Xuefer diff --git a/doc/unreal32docs.html b/doc/unreal32docs.html index 537d54402..6f3434247 100644 --- a/doc/unreal32docs.html +++ b/doc/unreal32docs.html @@ -27,7 +27,7 @@ English | German |
UnrealIRCd
http://www.unrealircd.com
Version: 3.2.2-CVS
- Last doc update: 2004-10-11
+ Last doc update: 2004-10-13
Head Coders: Stskeeps / codemastr / Syzop / Luke
Contributors: McSkaf / Zogg / NiQuiL / assyrian / chasm / DrBin / llthangel / Griever / nighthawk
@@ -2165,6 +2165,8 @@ set { by non-opers is sent to the EYES snomask.

set::options::allow-part-if-shunned;
Allow shunned user to use /part.

+

set::options::fail-oper-warn;
+ If present, a user will be notified that his/her failed /oper attempt has been logged.

set::dns::timeout <timevalue>;
A time value specifying the length of time a DNS server has to respond before a timeout. A time value is a numeric string with d meaning days, h meaning hours, diff --git a/src/s_bsd.c b/src/s_bsd.c index 456abec49..07f9c7ba9 100644 --- a/src/s_bsd.c +++ b/src/s_bsd.c @@ -1282,7 +1282,7 @@ add_con_refuse: { ircsprintf(zlinebuf, "ERROR :Closing Link: [%s] (Throttled: Reconnecting too fast) -" - "Email %s for more information.)\r\n", + "Email %s for more information.\r\n", Inet_ia2p(&acptr->ip), KLINE_ADDRESS); set_non_blocking(fd, acptr); @@ -1342,13 +1342,12 @@ void start_of_normal_client_handshake(aClient *acptr) { Link lin; acptr->status = STAT_UNKNOWN; - if (SHOWCONNECTINFO && !acptr->serv) { - sendto_one(acptr, "%s", REPORT_DO_DNS); - } - lin.flags = ASYNC_CLIENT; - lin.value.cptr = acptr; if (DONT_RESOLVE) goto skipdns; + if (SHOWCONNECTINFO && !acptr->serv) + sendto_one(acptr, "%s", REPORT_DO_DNS); + lin.flags = ASYNC_CLIENT; + lin.value.cptr = acptr; Debug((DEBUG_DNS, "lookup %s", acptr->sockhost)); acptr->hostp = gethost_byaddr((char *)&acptr->ip, &lin);