summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-15 19:48:11 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-15 19:48:11 +0800
commit997c8c9496b56a0fae3fc15730c3d37b6daa9e36 (patch)
treebd8820e85d880b769f9e6f2c82bc1d9e8f277928 /mbbsd/user.c
parentf56edcef27f508e17fc570d1ed111ea5c7ebf322 (diff)
downloadpttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.gz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.bz2
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.lz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.xz
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.tar.zst
pttbbs-997c8c9496b56a0fae3fc15730c3d37b6daa9e36.zip
correcting Calendar function.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 82516613..9e0958cf 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -810,7 +810,6 @@ u_editcalendar()
getdata(b_lines - 1, 0, "行事曆 (D)刪除 (E)編輯 [Q]取消?[Q] ",
genbuf, 3, LCECHO);
- sethomefile(genbuf, cuser.userid, "calendar");
if (genbuf[0] == 'e') {
int aborted;
@@ -821,6 +820,7 @@ u_editcalendar()
vmsg("行事曆更新完畢");
return 0;
} else if (genbuf[0] == 'd') {
+ sethomefile(genbuf, cuser.userid, "calendar");
unlink(genbuf);
vmsg("行事曆刪除完畢");
}