X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fconfigreader.h;h=aea3555833169e2e5014983a2d13779884c8ac63;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=3d48759a7cdb216c29d10482579bd28595fe417a;hpb=4f946291b7fd022b50fe5aacb9b851cebfbb2278;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/configreader.h b/include/configreader.h index 3d48759a7..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 */ @@ -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. */