From 8c192418ea103f20b239663b54b8c1c3a3692dc8 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 17 Oct 2011 12:22:04 +0000 Subject: fix forward record git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/bbs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 7320642d..d7d51347 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -2148,6 +2148,10 @@ cross_post(int ent, fileheader_t * fhdr, const char *direct) "%s" ANSI_RESET "%*s%s\n" , cuser.userid, bname, maxlength, "", tail); + + // use do_add_recommend to log forward info and also modify the file + // record + do_add_recommend(direct, fhdr, ent, buf, RECTYPE_ARROW); } else #endif { -- cgit v1.2.3