Changed locations of some paths

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@383 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-06-12 09:04:05 +00:00
parent a019a9b439
commit 150d39e534
4 changed files with 22 additions and 16 deletions
+2 -2
View File
@@ -29,6 +29,8 @@ CUser::CUser(const CString& sUserName, CZNC* pZNC) {
m_bKeepBuffer = false;
m_pZNC->GetManager().AddCron(new CKeepNickTimer(this));
m_pZNC->GetManager().AddCron(new CJoinTimer(this));
m_sUserPath = m_pZNC->GetUserPath() + "/" + sUserName;
m_sDLPath = GetUserPath() + "/downloads";
}
CUser::~CUser() {
@@ -520,10 +522,8 @@ bool CUser::ConnectPaused() {
}
const CString& CUser::GetCurPath() const { return m_pZNC->GetCurPath(); }
const CString& CUser::GetDLPath() const { return m_pZNC->GetDLPath(); }
const CString& CUser::GetModPath() const { return m_pZNC->GetModPath(); }
const CString& CUser::GetHomePath() const { return m_pZNC->GetHomePath(); }
const CString& CUser::GetDataPath() const { return m_pZNC->GetDataPath(); }
CString CUser::GetPemLocation() const { return m_pZNC->GetPemLocation(); }
bool CUser::UseClientIP() const { return m_bUseClientIP; }