diff options
| -rw-r--r-- | FICS/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/settings.cpp b/FICS/settings.cpp index 1436c6f..86adf2e 100644 --- a/FICS/settings.cpp +++ b/FICS/settings.cpp @@ -83,7 +83,7 @@ install_setting(const char *name, const char *value) return EINVAL; for (auto it = settings.begin(); it != settings.end(); ++it) { if (strings_match((*it).name.c_str(), name)) { - (*it).name.assign(value); + (*it).value.assign(value); return 0; } } |
