diff options
author | Alexander Færøy <ahf@irssi.org> | 2018-03-15 14:01:50 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@irssi.org> | 2018-03-15 14:01:50 +0100 |
commit | 8d07f52bae6fa7e85988125293f08a72e39de8c3 (patch) | |
tree | a88b8043088fba098d122cbdf7fd3ddacfb5e222 | |
parent | 7a4bfc16021e7762bd8e6c5d11d0f913101dc5b4 (diff) | |
download | irssi-8d07f52bae6fa7e85988125293f08a72e39de8c3.zip |
Add ABI check for otr_core module.
-rw-r--r-- | src/otr/module.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/otr/module.c b/src/otr/module.c index ca3107b1..0d83629f 100644 --- a/src/otr/module.c +++ b/src/otr/module.c @@ -24,6 +24,7 @@ #include "module.h" +#include "common.h" #include "signals.h" #include "queries.h" #include "commands.h" @@ -259,3 +260,8 @@ void otr_core_deinit(void) otr_lib_uninit(); } + +void otr_core_abicheck(int *version) +{ + *version = IRSSI_ABI_VERSION; +} |