]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Remove calls to strdup() in core, it is not better than std::string
[user/henk/code/inspircd.git] / include / configreader.h
index e70a1478a05f8e7bb0ea97c82bdb1afd6779b416..c8cd13081d82c553a4c1b51f98ae7639bdfcbcf9 100644 (file)
@@ -46,19 +46,19 @@ 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