From 2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 27 Jun 2003 02:39:26 +0000 Subject: fixbug git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@977 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++-- 1 file 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; } -- cgit v1.2.3