]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Added extra 'looking up your hostname lollerskates' output :p
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 3 Feb 2006 14:41:19 +0000 (14:41 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 3 Feb 2006 14:41:19 +0000 (14:41 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3044 e03df62e-2008-0410-955e-edbf42e46eb7

src/dnsqueue.cpp

index 71f227567540f33b8c0389ce318f7334d5217665..36128f985eb6349c24fb1e8536183c9e98acd5b7 100644 (file)
@@ -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;
                                                }