summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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);
};