Fixed build for non ssl

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@558 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-10-10 05:16:38 +00:00
parent bf1715973b
commit 8f0fc2fa07

View File

@@ -199,6 +199,10 @@ bool CZNC::WritePidFile(int iPid) {
}
bool CZNC::WritePemFile() {
#ifndef HAVE_LIBSSL
CUtils::PrintError("ZNC was not compiled with ssl support.");
return false;
#else
CString sPemFile = GetPemLocation();
const char* pHostName = getenv("HOSTNAME");
CString sHost;
@@ -227,6 +231,7 @@ bool CZNC::WritePemFile() {
CUtils::PrintStatus(true);
return true;
#endif
}
void CZNC::DeleteUsers() {