From 750cb398e4bacfb56fe09d474d1d7dc3c5af8913 Mon Sep 17 00:00:00 2001 From: prozacx Date: Tue, 6 Sep 2005 22:49:15 +0000 Subject: [PATCH] Only error if REQUIRESSL is set *and* HAVE_LIBSSL is not set git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@462 726aef4b-f618-498e-8847-2d620e286838 --- Modules.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules.h b/Modules.h index 8f2dcd9b..999c51da 100644 --- a/Modules.h +++ b/Modules.h @@ -11,12 +11,14 @@ using std::set; // User Module Macros #ifdef REQUIRESSL +#ifndef HAVE_LIBSSL #error - #error - #error This module only works when znc is compiled with OpenSSL support #error - #error - #endif +#endif #define MODCONSTRUCTOR(CLASS) \ CLASS(void *pDLL, CUser* pUser, const CString& sModName) : CModule(pDLL, pUser, sModName)