Module requires ZNC >= 1.6.0
authorKyle Fuller <redacted>
Tue, 11 Aug 2015 20:36:47 +0000 (21:36 +0100)
committerKyle Fuller <redacted>
Tue, 11 Aug 2015 20:36:47 +0000 (21:36 +0100)
palaver.cpp

index bcdb00d1da0c930d254bfdb240a1e3f3d65d7fa0..82011587b0b2dbd8af1303aafd3850a7a5648d7e 100644 (file)
 #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";
git clone https://git.99rst.org/PROJECT