diff --git a/modules/away.cpp b/modules/away.cpp index 225be1bc..bbce39ff 100644 --- a/modules/away.cpp +++ b/modules/away.cpp @@ -20,6 +20,9 @@ * * * $Log$ + * Revision 1.15 2005/06/12 09:04:39 prozacx + * Changed to new GetSavePath() + * * Revision 1.14 2005/05/26 20:42:13 prozacx * Moved GetDescription() into second argument of MODULEDEFS() * @@ -300,8 +303,7 @@ public: CString GetPath() { CString sBuffer = m_pUser->GetUserName(); - CString sRet = m_pUser->GetDataPath() + "/away"; - CUtils::MakeDir(sRet); + CString sRet = GetSavePath(); sRet += "/.znc-away-" + CBlowfish::MD5( sBuffer, true ); return( sRet ); } diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index c4f739e5..bda80b8a 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -26,6 +26,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.26 2005/06/12 09:04:39 prozacx + * Changed to new GetSavePath() + * * Revision 1.25 2005/05/26 20:42:13 prozacx * Moved GetDescription() into second argument of MODULEDEFS() * @@ -309,8 +312,7 @@ public: CString GetPath( const CString & sChannel ) { CString sBuffer = m_pUser->GetUserName() + Lower( sChannel ); - CString sRet = m_pUser->GetDataPath() + "/" + GetModName(); - CUtils::MakeDir(sRet); + CString sRet = GetSavePath(); sRet += "/" + CBlowfish::MD5( sBuffer, true ); return( sRet ); }