Renamed BinPath to CurPath

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@79 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-03 07:48:31 +00:00
parent ec1ecf00a8
commit 37641e73ca
5 changed files with 9 additions and 6 deletions

View File

@@ -497,7 +497,7 @@ bool CModules::LoadModule(const string& sModule, const string& sArgs, CUser* pUs
return false;
}
string sModPath = pUser->GetBinPath() + "/modules/" + sModule + ".so";
string sModPath = pUser->GetCurPath() + "/modules/" + sModule + ".so";
if (!CFile::Exists(sModPath)) {
DEBUG_ONLY(cout << "[" << sModPath << "] Not found..." << endl);