mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user