From 5439dddde51ddeceba2cd038cba2d4b4d4156976 Mon Sep 17 00:00:00 2001
From: codemastr
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);