summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-10-08 16:34:37 +0100
committerPeter Powell <petpow@saberuk.com>2014-10-13 06:18:14 +0100
commit6935ce2956fed99d5484da90e614b7126e5275d3 (patch)
tree35055bf79b871df09a988e6d1b005640b2f13101 /include/modules.h
parent402a1bb010522a35600325c1a3084e092b40ca22 (diff)
Avoid calling methods on NULL pointers wherever possible.
The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index eef8c61c9..cd0d5aad0 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -116,7 +116,7 @@ struct ModResult {
* and numerical comparisons in preprocessor macros if they wish to support
* multiple versions of InspIRCd in one file.
*/
-#define INSPIRCD_VERSION_API 8
+#define INSPIRCD_VERSION_API 9
/**
* This #define allows us to call a method in all