summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 14:41:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 14:41:19 +0000
commit9b4c7f385f0175f27e8d33de87827b65d89f5318 (patch)
treefe838e3f58986dea69814442de646a0ff390e7a2 /src
parent6f61dc870b47d73b7449951ac1293059a1793a8c (diff)
Added extra 'looking up your hostname lollerskates' output :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3044 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dnsqueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 71f227567..36128f985 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -137,6 +137,7 @@ public:
log(DEBUG,"Caching hostname %s -> %s",(char*)inet_ntoa(usr->ip4),hostname.c_str());
addrcache[usr->ip4] = new std::string(hostname);
}
+ WriteServ(usr->fd,"NOTICE Auth :*** Found your hostname");
}
usr->dns_done = true;
return true;
@@ -176,6 +177,7 @@ public:
{
if ((usr->registered > 3) || (hostname == ""))
{
+ WriteServ(usr->fd,"NOTICE Auth :*** Could not resolve your hostname -- Using your IP address instead");
usr->dns_done = true;
return true;
}