diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-03-05 19:21:29 +0100 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-03-05 19:21:29 +0100 |
| commit | 1e727ac39823a54d37997ae9123f1d4ae824a91c (patch) | |
| tree | f068fae57d6f4b846442eba5b1868f87decf26cc /FICS | |
| parent | c33c9f68a8fd3f59f1f4fef31cdeadead599bee5 (diff) | |
got_attr_value_player: usage of get_uint()
Diffstat (limited to 'FICS')
| -rw-r--r-- | FICS/playerdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index bdad800..a6b317d 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -871,7 +871,7 @@ got_attr_value_player(int p, char *attr, char *value, FILE *fp, char *file) } else if (!strcmp(attr, "network:")) { /* parray[p].network_player = atoi(value) */; } else if (!strcmp(attr, "lasthost:")) { - parray[p].lastHost = atoi(value); // XXX: unsigned int + parray[p].lastHost = get_uint(value); } else if (!strcmp(attr, "channel:")) { list_addsub(p, "channel", value, 1); } else if (!strcmp(attr, "num_comments:")) { |
