Fixed amb1267 - FlagManager caused a crash if the cmdaccess.ini was not writable

This commit is contained in:
Steve Dudenhoeffer 2008-03-04 18:02:16 +00:00
parent 9801c4166f
commit be35cc9912

View File

@ -294,6 +294,11 @@ void CFlagManager::WriteCommands(void)
File=fopen(m_strConfigFile.c_str(),"a");
if (!File)
{
return;
}
iter=m_FlagList.begin();
end=m_FlagList.end();