]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp
Нормалізовано шабанг у скрипті build проекту stargazer
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / user_helper.cpp
index c858eba1c97090259f97a22668f1ddfa9a9154ab..8e03c63ad91cdb7ce5b406c755e1c3deb7549d72 100644 (file)
@@ -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,