]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/configreader.h
Add/document channels/set-permanent priv, and tie setting of +P to it.
[user/henk/code/inspircd.git] / include / configreader.h
index 41a0fc9b1e81ba208ccbfe61ed7ecfe5a611b46d..859e5bddb87b1a64c97576c7afc70262ed75a163 100644 (file)
@@ -232,13 +232,19 @@ struct operclass_data : public Extensible
 {
        /** Command list for the class
         */
-       char* commandlist;
+       char *commandlist;
+
        /** Channel mode list for the class
         */
-       char* cmodelist;
+       char *cmodelist;
+
        /** User mode list for the class
         */
-       char* umodelist;
+       char *umodelist;
+
+       /** Priviledges given by this class
+        */
+       char *privs;
 };
 
 /** A Set of oper classes
@@ -343,7 +349,7 @@ class CoreExport ServerConfig : public Extensible
 
        /** Error stream, contains error output from any failed configuration parsing.
         */
-       std::ostringstream errstr;
+       std::ostringstream* errstr;
 
        /** Holds the new configuration when a rehash occurs so we dont overwrite the existing
         * working config with a broken one without checking it first and swapping pointers.
@@ -400,6 +406,11 @@ class CoreExport ServerConfig : public Extensible
         */
        int WhoWasMaxKeep;
 
+       /** Both for set(g|u)id.
+        */
+       char SetUser[MAXBUF];
+       char SetGroup[MAXBUF];
+
        /** Holds the server name of the local server
         * as defined by the administrator.
         */