finished building out module/user based registry system (round 1)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@299 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2005-05-15 03:49:11 +00:00
parent 8a1b797187
commit 1f4f4aab64
4 changed files with 85 additions and 1 deletions

View File

@@ -257,6 +257,7 @@ int MCString::WriteToDisk( const CString & sPath, mode_t iMode )
int MCString::ReadFromDisk( const CString & sPath, mode_t iMode )
{
clear();
CFile cFile( sPath );
if ( !cFile.Open( O_RDONLY|O_CREAT, iMode ) )
return( MCS_EOPEN );