]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users_impl.cpp
Ticket. The MaybeSet() function call for the 'change-policy' parameter added in
[stg.git] / projects / stargazer / users_impl.cpp
index 70a079bf8fb20608b9e47c1154566a833b4645ad..60a36335b6a4040910d1e21a9c66ef681b711832 100644 (file)
@@ -362,14 +362,15 @@ for (unsigned int i = 0; i < usersList.size(); i++)
 
         if (ui->ReadStat() < 0)
             return -1;
 
         if (ui->ReadStat() < 0)
             return -1;
-        } else
-                {
-                if (ui->ReadConf() < 0)
-                    errors++;
-
-                if (ui->ReadStat() < 0)
-                    errors++;
-                }
+        }
+    else
+        {
+        if (ui->ReadConf() < 0)
+            errors++;
+
+        if (ui->ReadStat() < 0)
+            errors++;
+        }
     }
 
 if (errors > 0)
     }
 
 if (errors > 0)