Fix clearing a config key

This commit is contained in:
Kamil Chojnowski 2019-06-02 20:05:34 +02:00
parent 83ae66e6ae
commit 501552dc23

View File

@ -74,7 +74,7 @@ void Config::clear()
void Config::setValue(const std::string& key, const std::string& value) void Config::setValue(const std::string& key, const std::string& value)
{ {
if(key == "") { if(value == "") {
remove(key); remove(key);
return; return;
} }