summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-02 00:37:54 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-02 00:37:54 +0800
commit78f43e8c18e2ad103ee3fc20490d6e29a50f9331 (patch)
tree24ec9651ae258ed04eaa2427d0c9c4f2851e4bed /mbbsd/mail.c
parent8c49555a1861b32024b35e4a89b4b696107e3c48 (diff)
downloadpttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.gz
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.bz2
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.lz
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.xz
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.zst
pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.zip
- make Test as macro name
- general message update and finetune git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index ac4be139..5e6ead31 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1059,6 +1059,9 @@ mail_del(int ent, const fileheader_t * fhdr, const char *direct)
if (!delete_record(direct, sizeof(*fhdr), ent)) {
setupmailusage();
setdirpath(genbuf, direct, fhdr->filename);
+#ifdef USE_RECYCLE
+ RcyAddFile(fhdr, 0, genbuf);
+#endif // USE_RECYCLE
unlink(genbuf);
mailsum = mailkeep = 0;
return DIRCHANGED;
@@ -1406,7 +1409,7 @@ mail_cross_post(int ent, fileheader_t * fhdr, const char *direct)
add_posttimes(usernum, 1);
#endif
- if (strcmp(xboard, "Test") == 0)
+ if (strcmp(xboard, GLOBAL_TEST) == 0)
outs("測試信件不列入紀錄,敬請包涵。");
else
cuser.numposts++;