From: Kyle Fuller Date: Tue, 11 Aug 2015 20:36:47 +0000 (+0100) Subject: Module requires ZNC >= 1.6.0 X-Git-Tag: 1.0.0~4 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0c2891b4d753031011e5ac1d827b1f5690841cce;p=znc-palaver.git Module requires ZNC >= 1.6.0 --- diff --git a/palaver.cpp b/palaver.cpp index bcdb00d..8201158 100644 --- a/palaver.cpp +++ b/palaver.cpp @@ -29,6 +29,11 @@ #endif +#if defined VERSION_MAJOR && defined VERSION_MINOR && VERSION_MAJOR >= 1 && VERSION_MINOR < 6 + #error "Palaver ZNC Modules requires ZNC 1.6 or newer." +#endif + + const char *kPLVCapability = "palaverapp.com"; const char *kPLVCommand = "PALAVER"; const char *kPLVPushEndpointKey = "PUSH-ENDPOINT";