X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/db33c64eab7528d3eb95b53332d80a5f8f4b80b2..931cbc356d8e2cf226026d8d327c1bdd7bd82b71:/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,