mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 05:38:04 +03:00
Fix a ML parser crash on key with an associated empty value
This commit is contained in:
parent
2162059352
commit
2d583aa83a
@ -393,7 +393,7 @@ bool CLangMngr::ReadINI_KeyValue(const char *key, const char *value, bool invali
|
|||||||
{
|
{
|
||||||
Data.lastKey = key;
|
Data.lastKey = key;
|
||||||
|
|
||||||
if (colons_token || equal_token)
|
if (colons_token || (equal_token && value))
|
||||||
{
|
{
|
||||||
int iKey = GetKeyEntry(key);
|
int iKey = GetKeyEntry(key);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user