]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dns.cpp
Changes to m_override
[user/henk/code/inspircd.git] / src / dns.cpp
index 8f23eaa6ccc43639d3624f4071ee5a927610bbbd..d01135a125d29ac7a1bd7738fd00fcd8852168dc 100644 (file)
@@ -26,20 +26,13 @@ looks like this, walks like this or tastes like this.
 
 using namespace std;
 
-#include <string>
-#include <time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <errno.h>
-#include <sys/types.h>
-#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <map>
 #include "dns.h"
 #include "inspircd.h"
-
-#include "inspircd_config.h"
 #include "socketengine.h"
 #include "configreader.h"
 #include "socket.h"
@@ -249,6 +242,10 @@ DNS::DNS(InspIRCd* Instance) : ServerInstance(Instance)
         */
        currid = 0;
 
+       /* By default we're not munging ip's
+        */
+       ip6munge = false;
+
        /* Clear the namesever address */
        memset(&myserver,0,sizeof(insp_inaddr));