mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 12:34:55 +02:00
Fix clearing a config key
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user