]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/reslib.c
dlink -> rb_dlink
[irc/rqf/shadowircd.git] / src / reslib.c
index dcc74504e4cfe7fbb854dc73ecb66c87bc16c22a..fce6f05ef1d9640d1acd4899225a0fc0fc5391eb 100644 (file)
@@ -149,7 +149,10 @@ int
 irc_res_init(void)
 {
   irc_nscount = 0;
-  return parse_resvconf();
+  parse_resvconf();
+  if (irc_nscount == 0)
+    add_nameserver("127.0.0.1");
+  return 0;
 }
 
 /* parse_resvconf()