From ff8ccaf08b60d88a67ddf810f8229f910f016cf7 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Tue, 24 Nov 2015 00:08:20 +0100 Subject: module check irssi version Add explicit checks into every module to match the ABI version defined in common.h --- src/irc/proxy/proxy.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/irc/proxy') diff --git a/src/irc/proxy/proxy.c b/src/irc/proxy/proxy.c index ce79e2b7..50a41b21 100644 --- a/src/irc/proxy/proxy.c +++ b/src/irc/proxy/proxy.c @@ -108,3 +108,8 @@ void irc_proxy_deinit(void) { proxy_listen_deinit(); } + +void irc_proxy_abicheck(int *version) +{ + *version = IRSSI_ABI_VERSION; +} -- cgit v1.2.3