summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:02:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 17:02:24 +0000
commitf3624af468d769f0cb05cf17cd18111f5faa9ec3 (patch)
tree2bf808da542a75b61f448937f76cbfdd76c27803 /include/configreader.h
parentac3af8b61e9601d9585510d99891e993eb3a2722 (diff)
Needs testbuilding in windows. I will probably do this in a minute.
More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 8a719f77e..022978766 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -239,6 +239,9 @@ class CoreExport ServerConfig : public Extensible
public:
+ /* Pointer to function that validates dns server addresses (can be changed depending on platform) */
+ Validator DNSServerValidator;
+
InspIRCd* GetInstance();
/** This holds all the information in the config file,