From 2e444a49788e8c01a075490de0b3f3b400658b44 Mon Sep 17 00:00:00 2001 From: fireice-uk Date: Tue, 14 Mar 2017 22:17:24 +0000 Subject: [PATCH] crappy patch --- jconf.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/jconf.cpp b/jconf.cpp index 7b23062..9777abe 100644 --- a/jconf.cpp +++ b/jconf.cpp @@ -28,15 +28,6 @@ #include #include -#ifdef CONF_NO_TLS - if(prv->configValues[bTlsMode]->GetBool()) - { - printer::inst()->print_msg(L0, - "Invalid config file. TLS enabled while the application has been compiled without TLS support."); - return false; - } -#endif // CONF_NO_TLS - #ifdef _WIN32 #define strcasecmp _stricmp #include @@ -391,6 +382,15 @@ bool jconf::parse_config(const char* sFilename) return false; } +#ifdef CONF_NO_TLS + if(prv->configValues[bTlsMode]->GetBool()) + { + printer::inst()->print_msg(L0, + "Invalid config file. TLS enabled while the application has been compiled without TLS support."); + return false; + } +#endif // CONF_NO_TLS + printer::inst()->set_verbose_level(prv->configValues[iVerboseLevel]->GetUint64()); return true; }