Fixed amb1267 - FlagManager caused a crash if the cmdaccess.ini was not writable
This commit is contained in:
parent
9801c4166f
commit
be35cc9912
@ -295,6 +295,11 @@ void CFlagManager::WriteCommands(void)
|
||||
|
||||
File=fopen(m_strConfigFile.c_str(),"a");
|
||||
|
||||
if (!File)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
iter=m_FlagList.begin();
|
||||
end=m_FlagList.end();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user