X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=aea3555833169e2e5014983a2d13779884c8ac63;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=f47c6680efafe364c2ba9f81fdb0a2ed740cde92;hpb=d1b20f95198858c0ffd2974fb7fd622a0d945a81;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index f47c6680e..aea355583 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -178,6 +178,13 @@ struct InitialConfig Validator validation_function; }; +struct Deprecated +{ + const char* tag; + const char* value; + const char* reason; +}; + /** Holds a core configuration item and its callbacks * where there may be more than one item */ @@ -203,7 +210,7 @@ struct MultiConfig */ typedef std::map opertype_t; -struct operclass_data +struct operclass_data : public Extensible { char* commandlist; char* cmodelist; @@ -242,7 +249,7 @@ class CoreExport ServerConfig : public Extensible /** Check that there is only one of each configuration item */ - bool CheckOnce(const char* tag); + bool CheckOnce(const char* tag, ConfigDataHash &newconf); public: @@ -490,10 +497,6 @@ class CoreExport ServerConfig : public Extensible */ int debugging; - /** The loglevel in use by the IRC server - */ - int LogLevel; - /** How many seconds to wait before exiting * the program when /DIE is correctly issued. */