summaryrefslogtreecommitdiff
path: root/src/core/modules.h
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2015-11-24 00:08:20 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2015-12-10 00:52:33 +0100
commitff8ccaf08b60d88a67ddf810f8229f910f016cf7 (patch)
tree8d3e97cca2d679f04be14bc343a14ce7d4c77a28 /src/core/modules.h
parent4dc2bab4b4ae7ff05220c1121f0f11097f77b265 (diff)
downloadirssi-ff8ccaf08b60d88a67ddf810f8229f910f016cf7.zip
module check irssi version
Add explicit checks into every module to match the ABI version defined in common.h
Diffstat (limited to 'src/core/modules.h')
-rw-r--r--src/core/modules.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/modules.h b/src/core/modules.h
index 75a77c77..b2fa2fa4 100644
--- a/src/core/modules.h
+++ b/src/core/modules.h
@@ -27,6 +27,7 @@
enum {
MODULE_ERROR_ALREADY_LOADED,
MODULE_ERROR_LOAD,
+ MODULE_ERROR_VERSION_MISMATCH,
MODULE_ERROR_INVALID
};