mirror of
https://github.com/znc/znc.git
synced 2026-05-05 21:12:37 +02:00
Changed from CUser::GetPemLocation() to CZNC::GetPemLocation()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@517 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -847,11 +847,11 @@ XS(XS_ZNC_COREListen)
|
||||
#ifdef HAVE_LIBSSL
|
||||
if ( iUseSSL != 0 )
|
||||
{
|
||||
if ( CFile::Exists( g_ModPerl->GetUser()->GetPemLocation() ) )
|
||||
pSock->SetPemLocation( g_ModPerl->GetUser()->GetPemLocation() );
|
||||
if ( CFile::Exists( CZNC::Get().GetPemLocation() ) )
|
||||
pSock->SetPemLocation( CZNC::Get().GetPemLocation() );
|
||||
else
|
||||
{
|
||||
g_ModPerl->PutModule( "PEM File does not exist! (looking for " + g_ModPerl->GetUser()->GetPemLocation() + ")" );
|
||||
g_ModPerl->PutModule( "PEM File does not exist! (looking for " + CZNC::Get().GetPemLocation() + ")" );
|
||||
bContinue = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user