summaryrefslogtreecommitdiff
path: root/include/inspircd_io.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 14:17:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 14:17:15 +0000
commitd37773215ac095af0cdd1de5299ce854be2d661e (patch)
treed6701e3c31c5816f8fc935ed2a81f5a63ad8e89a /include/inspircd_io.h
parent7bef53268e05fd6fdff652c37df885b95c946370 (diff)
Moved include stack stuff to be private to ServerConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd_io.h')
-rw-r--r--include/inspircd_io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index b5993d8af..5575c4cda 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -19,6 +19,7 @@
#include <sstream>
#include <string>
+#include <vector>
#include "inspircd.h"
#include "globals.h"
@@ -32,6 +33,9 @@
class ServerConfig
{
+ private:
+ std::vector<std::string> include_stack;
+
public:
char ServerName[MAXBUF];
char Network[MAXBUF];
@@ -67,8 +71,10 @@ class ServerConfig
char PID[1024];
std::stringstream config_f;
ClassVector Classes;
+ std::vector<std::string> module_names;
ServerConfig();
+ ClearStack();
void Read(bool bail, userrec* user);
};