]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/client.c
config: deprecate NoXX-Options
[ngircd-alex.git] / src / ngircd / client.c
index ecd1a7c5fb462cdd6f319578376a42dccb7eb09a..737c01841c7381ece36543ba7e203842118ac93a 100644 (file)
@@ -93,7 +93,7 @@ Client_Init( void )
        This_Server->hops = 0;
 
        gethostname( This_Server->host, CLIENT_HOST_LEN );
-       if (!Conf_NoDNS) {
+       if (Conf_DNS) {
                h = gethostbyname( This_Server->host );
                if (h) strlcpy(This_Server->host, h->h_name, sizeof(This_Server->host));
        }