summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 22:48:37 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-28 22:48:37 +0800
commit834a22995914e8987ddc99cd3bba20942606f335 (patch)
tree0e0a1adaf0f73294983803e128e8b59b8d1a2415
parent06807c722a63e2e1ba2e446e57b9f82254599180 (diff)
downloadpttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar.gz
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar.bz2
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar.lz
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar.xz
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.tar.zst
pttbbs-834a22995914e8987ddc99cd3bba20942606f335.zip
fix last commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/chess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chess.c b/mbbsd/chess.c
index d5263bf9..ebe25e16 100644
--- a/mbbsd/chess.c
+++ b/mbbsd/chess.c
@@ -1167,13 +1167,13 @@ ChessInitUser(ChessInfo* info)
uinfo = search_ulist_userid(userid[0]);
if (uinfo)
info->actions->init_user(uinfo, &info->user1);
- else if (getuser(userid, &urec))
+ else if (getuser(userid[0], &urec))
info->actions->init_user_rec(&urec, &info->user1);
uinfo = search_ulist_userid(userid[1]);
if (uinfo)
info->actions->init_user(uinfo, &info->user2);
- else if (getuser(userid, &urec))
+ else if (getuser(userid[1], &urec))
info->actions->init_user_rec(&urec, &info->user2);
}