summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 10:39:26 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 10:39:26 +0800
commit2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d (patch)
tree4454aef00d6682a4fd6ce77fbe438ca25e0d2d77 /mbbsd/bbs.c
parentf9c0e3bc1c15fc08ecb5b76c9274f741578b4eaa (diff)
downloadpttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar.gz
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar.bz2
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar.lz
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar.xz
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.tar.zst
pttbbs-2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d.zip
fixbug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 1169f764..00343018 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.99 2003/06/22 15:12:59 in2 Exp $ */
+/* $Id: bbs.c,v 1.100 2003/06/27 02:39:26 in2 Exp $ */
#include "bbs.h"
static int recommend(int ent, fileheader_t * fhdr, char *direct);
@@ -1307,12 +1307,12 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
lock_substitute_record(direct, fhdr, sizeof(*fhdr), ent, LOCK_UN);
else{
fhdr->recommend++;
- lastrecommend = now;
passwd_update(usernum, &cuser);
lock_substitute_record(direct, fhdr, sizeof(*fhdr), ent, LOCK_UN);
substitute_check(fhdr);
touchdircache(currbid);
}
+ lastrecommend = now;
return FULLUPDATE;
}