2
0
mirror of https://github.com/alliedmodders/amxmodx.git synced 2025-05-29 15:07:42 +03:00

Merge pull request from Arkshine/fix/ml-parser-with-empty_value

Fix a ML parser crash on key with an associated empty value
This commit is contained in:
Vincent Herbet 2015-07-29 09:45:14 +02:00
commit decde43371

@ -393,7 +393,7 @@ bool CLangMngr::ReadINI_KeyValue(const char *key, const char *value, bool invali
{
Data.lastKey = key;
if (colons_token || equal_token)
if (colons_token || (equal_token && value))
{
int iKey = GetKeyEntry(key);