mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Changed to new GetSavePath()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@384 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+4
-2
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user