X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=859e5bddb87b1a64c97576c7afc70262ed75a163;hb=d0a7ed880df022ef7b41c36c74099cd2790c3462;hp=41a0fc9b1e81ba208ccbfe61ed7ecfe5a611b46d;hpb=073eb3d17f125259ea9b4fcdab78a196ced96593;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 41a0fc9b1..859e5bddb 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -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. */