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)