mirror of
https://github.com/edubart/otclient.git
synced 2025-05-01 01:59:21 +02:00
Merge pull request #1032 from diath/fix_config_setvalue
Fix clearing a config key
This commit is contained in:
commit
7922f8238e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user