diff --git a/modules/away.cpp b/modules/away.cpp index 4240ff0a..5f0ebc0a 100644 --- a/modules/away.cpp +++ b/modules/away.cpp @@ -1,3 +1,5 @@ +#define REQUIRESSL + #include "main.h" #include "User.h" #include "Nick.h" @@ -8,10 +10,6 @@ #include #include -#ifndef HAVE_LIBSSL -#error This plugin only works with OpenSSL -#endif /* HAVE_LIBSSL */ - #define CRYPT_VERIFICATION_TOKEN "::__:AWAY:__::" /* @@ -20,6 +18,9 @@ * * * $Log$ + * Revision 1.17 2005/09/06 22:43:02 prozacx + * Added REQUIRESSL + * * Revision 1.16 2005/06/30 21:51:06 prozacx * Changed CString::Token() to split on a string rather than char * diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index bda80b8a..cc115249 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -1,3 +1,5 @@ +#define REQUIRESSL + #include "main.h" #include "znc.h" #include "User.h" @@ -12,10 +14,6 @@ * store OnJoin, OnQuit, OnPart, etc send down as messages */ -#ifndef HAVE_LIBSSL -#error This plugin only works with OpenSSL -#endif /* HAVE_LIBSSL */ - #define CRYPT_VERIFICATION_TOKEN "::__:SAVEBUFF:__::" /* @@ -26,6 +24,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.27 2005/09/06 22:43:02 prozacx + * Added REQUIRESSL + * * Revision 1.26 2005/06/12 09:04:39 prozacx * Changed to new GetSavePath() * diff --git a/modules/schat.cpp b/modules/schat.cpp index 7ff8e441..28c8dca5 100644 --- a/modules/schat.cpp +++ b/modules/schat.cpp @@ -1,3 +1,5 @@ +#define REQUIRESSL + #include "main.h" #include "User.h" #include "Nick.h" @@ -18,6 +20,9 @@ using std::pair; * Author: imaginos * * $Log$ + * Revision 1.16 2005/09/06 22:43:02 prozacx + * Added REQUIRESSL + * * Revision 1.15 2005/05/26 20:42:13 prozacx * Moved GetDescription() into second argument of MODULEDEFS() * @@ -75,10 +80,6 @@ using std::pair; * */ -#ifndef HAVE_LIBSSL -#error This plugin only works with OpenSSL -#endif /* HAVE_LIBSSL */ - class CSChat; class CRemMarkerJob : public CTimer