mirror of
https://github.com/edubart/otclient.git
synced 2025-05-01 10:09:21 +02:00
Fix clearing a config key
This commit is contained in:
parent
83ae66e6ae
commit
501552dc23
@ -74,7 +74,7 @@ void Config::clear()
|
||||
|
||||
void Config::setValue(const std::string& key, const std::string& value)
|
||||
{
|
||||
if(key == "") {
|
||||
if(value == "") {
|
||||
remove(key);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user