summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/chess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c
index 7a350aab..762d312f 100644
--- a/mbbsd/chess.c
+++ b/mbbsd/chess.c
@@ -1160,7 +1160,7 @@ ChessInitUser(ChessInfo* info)
strlcpy(userid[0], uinfo->userid, sizeof(userid[0]));
strlcpy(userid[1], uinfo->mateid, sizeof(userid[1]));
} else {
- strlcpy(userid[0], currutmp->userid, sizeof(userid[0]));
+ strlcpy(userid[0], currutmp->mateid, sizeof(userid[0]));
userid[1][0] = 0;
}
break;