Make CFile::Delete() return a bool (true for success)

The static version of CFile::Delete() already does so.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@946 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-02-08 16:20:20 +00:00
parent 0adf4e5af3
commit f495acd110
2 changed files with 2 additions and 2 deletions

View File

@@ -156,7 +156,7 @@ int CFile::GetInfo(const CString& sFile, struct stat& st) {
//
// Functions to manipulate the file on the filesystem
//
int CFile::Delete() { return CFile::Delete(m_sLongName); }
bool CFile::Delete() { return CFile::Delete(m_sLongName); }
int CFile::Move(const CString& sNewFileName, bool bOverwrite) {
return CFile::Move(m_sLongName, sNewFileName, bOverwrite);
}