mirror of
https://github.com/znc/znc.git
synced 2026-05-03 03:52:33 +02:00
Document most of CString and MCString
There are only some "minor" functions that are still undocumented now. This also sneaks in an API change: A useless file mode argument to MCString::ReadFromDisk() is gone. Opening a file doesn't ask for a file mode. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2157 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -147,7 +147,7 @@ void CModule::SetClient(CClient* pClient) { m_pClient = pClient; }
|
||||
|
||||
bool CModule::LoadRegistry() {
|
||||
//CString sPrefix = (m_pUser) ? m_pUser->GetUserName() : ".global";
|
||||
return (m_mssRegistry.ReadFromDisk(GetSavePath() + "/.registry", 0600) == MCString::MCS_SUCCESS);
|
||||
return (m_mssRegistry.ReadFromDisk(GetSavePath() + "/.registry") == MCString::MCS_SUCCESS);
|
||||
}
|
||||
|
||||
bool CModule::SaveRegistry() const {
|
||||
|
||||
Reference in New Issue
Block a user