summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-17 20:22:04 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-17 20:22:04 +0800
commit8c192418ea103f20b239663b54b8c1c3a3692dc8 (patch)
tree3ae9dda5faf58dd0140ba3e8a062e21ba3cdaba8
parent17159e2fb2891d81b5c35a9feb71b410b99c2cf0 (diff)
downloadpttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar.gz
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar.bz2
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar.lz
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar.xz
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.tar.zst
pttbbs-8c192418ea103f20b239663b54b8c1c3a3692dc8.zip
fix forward record
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c4
1 files changed, 4 insertions, 0 deletions
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
{