summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 14:13:13 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-26 14:13:13 +0000
commit6d03943426dcce76ba66567a9b18425a5ebb4c0c (patch)
treebedffa6d2a65a9ef556405224a6d7a181c8a1ba5 /include/dns.h
parent810c662c9b55908101ca085293c52c3239ef22d1 (diff)
Remove InspIRCd* parameters and fields
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h13
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.