diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-12-26 22:34:09 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-12-26 22:34:09 +0800 |
commit | 0e6237c6563b4ac2d2d69655c204bf2432af9cd2 (patch) | |
tree | 2670ce8fc40bfc5f531ba324ee0bd84146ee5a28 /mbbsd | |
parent | 5813df022c5ad24bc6f2d149884b035f6ba55721 (diff) | |
download | pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar.gz pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar.bz2 pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar.lz pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar.xz pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.tar.zst pttbbs-0e6237c6563b4ac2d2d69655c204bf2432af9cd2.zip |
crosspost to Test board does not count as a post
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3460 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 2452e06e..df02ce19 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1511,7 +1511,12 @@ cross_post(int ent, fileheader_t * fhdr, const char *direct) } #endif setbtotal(getbnum(xboard)); - cuser.numposts++; + + if (strcmp(xboard, "Test") == 0) + outs("測試信件不列入紀錄,敬請包涵。"); + else + cuser.numposts++; + UPDATE_USEREC; outs("文章轉錄完成"); pressanykey(); |