X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=c8cd13081d82c553a4c1b51f98ae7639bdfcbcf9;hb=94bb5343b1464cbec9f58ee9d90a3deae3ac5308;hp=b5e6a887b4925e6709db13dfc2144192eb712f0a;hpb=0036e3a70cabea02e9ec2103ed1dfdf5c799289f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index b5e6a887b..c8cd13081 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -42,23 +42,23 @@ typedef std::map opertype_t; /** Holds an oper class. */ -struct operclass_data : public Extensible +struct operclass_data : public classbase { /** Command list for the class */ - char *commandlist; + std::string commandlist; /** Channel mode list for the class */ - char *cmodelist; + std::string cmodelist; /** User mode list for the class */ - char *umodelist; + std::string umodelist; /** Priviledges given by this class */ - char *privs; + std::string privs; }; /** A Set of oper classes @@ -68,7 +68,7 @@ typedef std::map operclass_t; /** Defines the server's length limits on various length-limited * items such as topics, nicknames, channel names etc. */ -class ServerLimits : public Extensible +class ServerLimits { public: /** Maximum nickname length */ @@ -119,7 +119,7 @@ class ServerLimits : public Extensible * and storage of the configuration data needed to run the ircd, such as * the servername, connect classes, /ADMIN data, MOTDs and filenames etc. */ -class CoreExport ServerConfig : public Extensible +class CoreExport ServerConfig : public classbase { private: /** Creator/owner pointer