X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/db33c64eab7528d3eb95b53332d80a5f8f4b80b2..e2791d9aef50f35848ab391454048b3e01e1907b:/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp diff --git a/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp b/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp index c858eba1..8e03c63a 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp @@ -251,7 +251,7 @@ if ((it = structVal.find("down")) != structVal.end()) if ((it = structVal.find("passive")) != structVal.end()) { bool value(xmlrpc_c::value_boolean(it->second)); - if (iter->property.passive.Get()) + if (iter->property.passive.Get() != value) if (!iter->property.passive.Set(value, admin, login,