From 6c9abd2192b7c70574a804bbf219b462df0d2aef Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 3 Apr 2005 08:19:42 +0000 Subject: [PATCH] Use GetPemLocation() for the pemfile path git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@84 726aef4b-f618-498e-8847-2d620e286838 --- modules/schat.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/schat.cpp b/modules/schat.cpp index 6f2ca37f..cca11d6d 100644 --- a/modules/schat.cpp +++ b/modules/schat.cpp @@ -14,6 +14,9 @@ * Author: imaginos * * $Log$ + * Revision 1.5 2005/04/03 08:19:42 prozacx + * Use GetPemLocation() for the pemfile path + * * Revision 1.4 2005/04/03 07:48:31 prozacx * Renamed BinPath to CurPath * @@ -143,7 +146,7 @@ public: if ( m_sPemFile.empty() ) { - m_sPemFile = m_pUser->GetCurPath() + "/znc.pem"; + m_sPemFile = m_pUser->GetPemLocation(); } if (!CFile::Exists(m_sPemFile)) {