summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:24:21 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:24:21 +0800
commit282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca (patch)
treeef38625a42f858fe5e757833dcc6bc20f1f38f2b /mbbsd/admin.c
parent8d8887e355480b30629b8576aa5998b7eb3d9288 (diff)
downloadpttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar.gz
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar.bz2
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar.lz
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar.xz
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.tar.zst
pttbbs-282e3972e1b6cb2345dd9c1281c5d3a2eb5614ca.zip
login water ball
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1587 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 45f478d0..1b10e8e1 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -23,8 +23,8 @@ m_loginmsg()
getdata_str(23, 0, "設定進站水球:", msg, 56, DOECHO, SHM->loginmsg.last_call_in))
{
SHM->loginmsg.pid=currutmp->pid; /*站長不多 就不管race condition */
- strcmp(SHM->loginmsg.last_call_in, msg);
- strcmp(SHM->loginmsg.userid, cuser.userid);
+ strcpy(SHM->loginmsg.last_call_in, msg);
+ strcpy(SHM->loginmsg.userid, cuser.userid);
}
return 0;
}