mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Tweak tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4687 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
5a53ae3b0a
commit
b276a1a055
@ -257,7 +257,7 @@ DNS::DNS()
|
||||
if (insp_aton(Config->DNSServer,&addr) > 0)
|
||||
{
|
||||
memcpy(&myserver,&addr,sizeof(insp_inaddr));
|
||||
log(DEBUG,"Added nameserver '%s'",Config->DNSServer);
|
||||
log(DEBUG,"Added nameserver '%s'",inet_ntoa(myserver));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -309,6 +309,7 @@ DNS::DNS()
|
||||
|
||||
if (MasterSocket >= 0)
|
||||
{
|
||||
log(DEBUG,"Add master socket %d",MasterSocket);
|
||||
/* Hook the descriptor into the socket engine */
|
||||
if (ServerInstance && ServerInstance->SE)
|
||||
ServerInstance->SE->AddFd(MasterSocket,true,X_ESTAB_DNS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user