/** 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.
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.
*/
*/
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);