diff options
author | Sadie Powell <sadie@witchery.services> | 2021-01-30 17:31:40 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-01-30 17:31:40 +0000 |
commit | 10714b0ded0ff1304034bb3c2eab9ef5fb163616 (patch) | |
tree | 61c732a585f580ff77a9d755a51ac2cda0eb5999 /make/template/config.h | |
parent | 563c9aba9ee3b62914a0c5903882f3a825258275 (diff) |
Fix bitshift in INSPIRCD_VERSION_SINCE.
Diffstat (limited to 'make/template/config.h')
-rw-r--r-- | make/template/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/config.h b/make/template/config.h index 97dd15453..ec3cff94a 100644 --- a/make/template/config.h +++ b/make/template/config.h @@ -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@" |