]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
ENCAP removal for supported protocol 1201 commands
[user/henk/code/inspircd.git] / include / dns.h
index 3682bbe1db3a56486a77ad17e18f8b57e31d7d9d..1bce4f11a2497e1fb2aae344100862126bdb2ac5 100644 (file)
@@ -184,10 +184,6 @@ enum ForceProtocol
 class CoreExport Resolver : public Extensible
 {
  protected:
-       /**
-        * Pointer to creator
-        */
-       InspIRCd* ServerInstance;
        /**
         * Pointer to creator module (if any, or NULL)
         */
@@ -255,7 +251,7 @@ class CoreExport Resolver : public Extensible
         * whilst lookups are in progress, they can be safely removed and your module will not
         * crash the server.
         */
-       Resolver(InspIRCd* Instance, const std::string &source, QueryType qt, bool &cached, Module* creator = NULL);
+       Resolver(const std::string &source, QueryType qt, bool &cached, Module* creator = NULL);
 
        /**
         * The default destructor does nothing.
@@ -312,11 +308,6 @@ class CoreExport DNS : public EventHandler
 {
  private:
 
-       /**
-        * Creator/Owner object
-        */
-       InspIRCd* ServerInstance;
-
        /**
         * The maximum value of a dns request id,
         * 16 bits wide, 0xFFFF.
@@ -358,12 +349,11 @@ class CoreExport DNS : public EventHandler
         */
        int socketfamily;
 
-#ifdef IPV6
        /**
         * IPV6 server address
         */
        in6_addr myserver6;
-#endif
+
        /**
         * IPV4 server address
         */
@@ -448,7 +438,7 @@ class CoreExport DNS : public EventHandler
         * The constructor initialises the dns socket,
         * and clears the request lists.
         */
-       DNS(InspIRCd* Instance);
+       DNS();
 
        /**
         * Re-initialize the DNS subsystem.