mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 15:32:26 +01:00
NewDNS
This commit is contained in:
parent
9de62da6f3
commit
40075204f0
1 changed files with 0 additions and 4 deletions
|
@ -1397,7 +1397,6 @@ aClient *add_connection(cptr, fd)
|
|||
send(fd, REPORT_DO_DNS, R_do_dns, 0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef USENEWDNS
|
||||
lin.flags = ASYNC_CLIENT; //newdns
|
||||
lin.value.cptr = acptr;
|
||||
|
@ -1407,9 +1406,6 @@ aClient *add_connection(cptr, fd)
|
|||
|
||||
acptr->hostp = gethost_byaddr((char *)&acptr->ip, &lin);
|
||||
|
||||
|
||||
|
||||
acptr->hostp = newdns_lookupfromip(&acptr->ip);
|
||||
if (!acptr->hostp)
|
||||
SetDNS(acptr);
|
||||
#ifdef SHOWCONNECTINFO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue