diff options
Diffstat (limited to 'include/dns.h')
-rw-r--r-- | include/dns.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/dns.h b/include/dns.h index a780505d0..1bce4f11a 100644 --- a/include/dns.h +++ b/include/dns.h @@ -185,10 +185,6 @@ class CoreExport Resolver : public Extensible { protected: /** - * Pointer to creator - */ - InspIRCd* ServerInstance; - /** * Pointer to creator module (if any, or NULL) */ Module* Creator; @@ -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. @@ -313,11 +309,6 @@ class CoreExport DNS : public EventHandler private: /** - * Creator/Owner object - */ - InspIRCd* ServerInstance; - - /** * The maximum value of a dns request id, * 16 bits wide, 0xFFFF. */ @@ -447,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. |