summaryrefslogtreecommitdiff
path: root/src/common.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/common.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/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 0cf951b3..966e28d0 100644
--- a/src/common.h
+++ b/src/common.h
@@ -6,6 +6,8 @@
#define IRSSI_GLOBAL_CONFIG "irssi.conf" /* config file name in /etc/ */
#define IRSSI_HOME_CONFIG "config" /* config file name in ~/.irssi/ */
+#define IRSSI_ABI_VERSION 1
+
#define DEFAULT_SERVER_ADD_PORT 6667
#ifdef HAVE_CONFIG_H