summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/chc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chc.c b/mbbsd/chc.c
index a76d6ca6..d14baf3c 100644
--- a/mbbsd/chc.c
+++ b/mbbsd/chc.c
@@ -939,7 +939,7 @@ chc_replay(FILE* fp)
userec_t rec;
char *userid;
ChessUser *user =
- (buf[0] == 'R' ? &info->user1 : &info->user2);
+ (buf[1] == 'R' ? &info->user1 : &info->user2);
strtok(buf, "\"");
userid = strtok(NULL, "\"");