aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-04 02:24:47 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-04 02:24:47 +0200
commit5464cd9ac687ea1bc74420e069fdfcf733be44a5 (patch)
treef333e68162a1cdbc25946c525bae073ab2453693 /FICS
parentd42518fe19de28cc02ef6ec72eadb7cdfd788697 (diff)
Splitted if statements
Diffstat (limited to 'FICS')
-rw-r--r--FICS/ratings.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 7edb281..2ea978a 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -750,11 +750,13 @@ rating_update(int g)
rating_add(w_stats->rating, garray[g].type);
rating_add(b_stats->rating, garray[g].type);
- if ((w_stats->rating > w_stats->best) && (is_active(w_stats->num))) {
+ if (w_stats->rating > w_stats->best &&
+ is_active(w_stats->num)) {
w_stats->best = w_stats->rating;
w_stats->whenbest = time(NULL);
}
- if ((b_stats->rating > b_stats->best) && (is_active(b_stats->num))) {
+ if (b_stats->rating > b_stats->best &&
+ is_active(b_stats->num)) {
b_stats->best = b_stats->rating;
b_stats->whenbest = time(NULL);
}