From 54963bee7003f65f5412ea52133b1a00c3b0763e Mon Sep 17 00:00:00 2001 From: om Date: Tue, 4 Apr 2006 05:55:54 +0000 Subject: All new shiny config parser, there's probably some bugs there somewhere but hey...I've been up all night. make clean before you try and compile this. Really. And nobody dare complain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3817 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 88d4eecdf..a57fbef1a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -64,6 +64,7 @@ enum TargetTypeFlags { TYPE_OTHER }; +#include "globals.h" #include "dynamic.h" #include "base.h" #include "ctables.h" @@ -1778,10 +1779,11 @@ class ConfigReader : public classbase * core is changed). It will contain a pointer to the configuration file data with unneeded data * (such as comments) stripped from it. */ - std::stringstream *cache; - std::stringstream *errorlog; + ConfigDataHash* data; + std::ostringstream* errorlog;; /** Used to store errors */ + bool privatehash; // If we're using our own config data hash or not. bool readerror; long error; -- cgit v1.2.3