mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed amb1267 - FlagManager caused a crash if the cmdaccess.ini was not writable
This commit is contained in:
parent
9801c4166f
commit
be35cc9912
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user