X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Ftemplate%2Fconfig.h;h=236af5216f3b3f6c6c23953f229dc0ed97e7f349;hb=ba501ffb59ec5b147bfdcdc89a20b6ed2acaba70;hp=a4a21250a4172e77ecad0e4349f38a93fe65f013;hpb=2f12f76ec9561a6c1d522e3e6d81723ed9a07356;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/make/template/config.h b/make/template/config.h index a4a21250a..236af5216 100644 --- a/make/template/config.h +++ b/make/template/config.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2014, 2016, 2018-2020 Sadie Powell + * Copyright (C) 2014, 2016, 2018-2021 Sadie Powell * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -29,7 +29,7 @@ #define INSPIRCD_VERSION_BEFORE(MAJOR, MINOR) (((@VERSION_MAJOR@ << 8) | @VERSION_MINOR@) < ((MAJOR << 8) | (MINOR))) /** Determines whether this version of InspIRCd is equal to or newer than the requested version. */ -#define INSPIRCD_VERSION_SINCE(MAJOR, MINOR) (((@VERSION_MAJOR@ << 16) | @VERSION_MINOR@) >= ((MAJOR << 8) | (MINOR))) +#define INSPIRCD_VERSION_SINCE(MAJOR, MINOR) (((@VERSION_MAJOR@ << 8) | @VERSION_MINOR@) >= ((MAJOR << 8) | (MINOR))) /** The default location that config files are stored in. */ #define INSPIRCD_CONFIG_PATH "@CONFIG_DIR@" @@ -43,6 +43,12 @@ /** The default location that module files are stored in. */ #define INSPIRCD_MODULE_PATH "@MODULE_DIR@" +/** The default location that runtime files are stored in. */ +#define INSPIRCD_RUNTIME_PATH "@RUNTIME_DIR@" + +/** The URL of the InspIRCd docs site. */ +#define INSPIRCD_DOCS "https://docs.inspircd.org/@VERSION_MAJOR@/" + #ifndef _WIN32 %target include/config.h