]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/reslib.c
ok, trying to work on blockheap's stuff
[irc/rqf/shadowircd.git] / src / reslib.c
index dcc74504e4cfe7fbb854dc73ecb66c87bc16c22a..288a57c8912373094e4a07c85c77482bf7e66c56 100644 (file)
 #include "ircd_defs.h"
 #include "common.h"
 #include "ircd.h"
-#include "commio.h"
 #include "res.h"
 #include "reslib.h"
-#include "tools.h"
-#include "event.h"
 #include "irc_string.h"
 #include "sprintf_irc.h"
 
@@ -149,7 +146,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()