diff options
-rw-r--r-- | include/configreader.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/configreader.h b/include/configreader.h index cce4e0f9d..e0bab84bd 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -75,7 +75,7 @@ typedef std::map<irc::string,char*> opertype_t; /** A Set of oper classes */ -typedef opertype_t operclass_t; +typedef std::map<irc::string,char*> operclass_t; /** This class holds the bulk of the runtime configuration for the ircd. @@ -115,11 +115,20 @@ class ServerConfig : public Extensible InspIRCd* GetInstance(); + + /** All oper class definitions from the config file + */ + operclass_t operclass; + /** This holds all the information in the config file, * it's indexed by tag name to a vector of key/values. */ ConfigDataHash config_data; + /* All oper type definitions from the config file + */ + opertype_t opertypes; + /** Holds the server name of the local server * as defined by the administrator. */ @@ -392,14 +401,6 @@ class ServerConfig : public Extensible */ bool CycleHosts; - /* All oper type definitions from the config file - */ - opertype_t opertypes; - - /** All oper class definitions from the config file - */ - operclass_t operclass; - /** Construct a new ServerConfig */ ServerConfig(InspIRCd* Instance); |