diff options
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/libstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp index d086c5cde..076b55fcf 100644 --- a/src/libstate/libstate.cpp +++ b/src/libstate/libstate.cpp @@ -130,7 +130,7 @@ bool Library_State::is_set(const std::string& section, { Mutex_Holder lock(config_lock); - return search_map(config, section + "/" + key, false, true); + return config.count(section + "/" + key) != 0; } /* |