aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-24 18:09:33 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-24 18:09:33 +0100
commitd045a41d3185b56867fd1cc8475a70fa5031bd46 (patch)
tree46ccffd478ac6fc8578ba86eb116f663b51f22d2
parent1281eee63ad9d472c9e9a6d5a393125d59b2d6fa (diff)
Added 'seek'
-rw-r--r--FICS/playerdb.c1
-rw-r--r--FICS/playerdb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index 7696699..04b8047 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -205,6 +205,7 @@ player_zero(int p)
parray[p].rated = 0;
parray[p].registered = 0;
parray[p].ropen = 1;
+ parray[p].seek = 0;
parray[p].simul_info.numBoards = 0;
parray[p].socket = -1;
parray[p].sopen = 0;
diff --git a/FICS/playerdb.h b/FICS/playerdb.h
index 403533e..de2fe5d 100644
--- a/FICS/playerdb.h
+++ b/FICS/playerdb.h
@@ -127,6 +127,7 @@ typedef struct _player {
int side; // Only valid if game is >= 0
int partner;
int registered;
+ int seek; // new
int socket;
int sopen;
int status;