From: Maxim Mamontov Date: Mon, 29 Nov 2010 14:46:29 +0000 (+0200) Subject: Исправлено изменение параметра passive через XML RPC X-Git-Tag: 2.407-rc3~350 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/45eb432454451f078ca433c3aaf3c336598a74cb Исправлено изменение параметра passive через XML RPC --- 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,