X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/db33c64eab7528d3eb95b53332d80a5f8f4b80b2..fa619edb462a17b813e462637dd65d4d7c98471b:/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp?ds=inline 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,