Parser: Fix segfault in command extraction

Bu işleme şunda yer alıyor:
Albert S. 2018-11-05 10:46:06 +01:00
ebeveyn e863b5261b
işleme 538d9e8b2d
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme

Dosyayı Görüntüle

@ -71,7 +71,10 @@ std::string Parser::extractCommand(std::string cmdname, std::string content) con
if(std::regex_match(content, match, reg))
{
return match.str(2);
if(match.size() > 1)
{
return match.str(2);
}
}
return "";
}