From c5b46394feda5ff338e9246735037203f61bf9f6 Mon Sep 17 00:00:00 2001 From: prozacx Date: Tue, 12 Apr 2005 07:27:27 +0000 Subject: [PATCH] Added GetDataPath() git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@133 726aef4b-f618-498e-8847-2d620e286838 --- User.cpp | 1 + User.h | 1 + 2 files changed, 2 insertions(+) diff --git a/User.cpp b/User.cpp index 0e813b1d..9093d02b 100644 --- a/User.cpp +++ b/User.cpp @@ -389,6 +389,7 @@ const string& CUser::GetCurPath() const { return m_pZNC->GetCurPath(); } const string& CUser::GetDLPath() const { return m_pZNC->GetDLPath(); } const string& CUser::GetModPath() const { return m_pZNC->GetModPath(); } const string& CUser::GetHomePath() const { return m_pZNC->GetHomePath(); } +const string& CUser::GetDataPath() const { return m_pZNC->GetDataPath(); } string CUser::GetPemLocation() const { return m_pZNC->GetPemLocation(); } bool CUser::UseClientIP() const { return m_bUseClientIP; } diff --git a/User.h b/User.h index ae2f32a7..b5200d4c 100644 --- a/User.h +++ b/User.h @@ -88,6 +88,7 @@ public: const string& GetDLPath() const; const string& GetModPath() const; const string& GetHomePath() const; + const string& GetDataPath() const; string GetPemLocation() const; bool UseClientIP() const;