summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-17 20:23:39 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2011-10-17 20:23:39 +0800
commit5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389 (patch)
tree204a3d75f8899fbd442a2e1eeeb39d700bae5eab
parent8c192418ea103f20b239663b54b8c1c3a3692dc8 (diff)
downloadpttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar.gz
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar.bz2
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar.lz
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar.xz
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.tar.zst
pttbbs-5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389.zip
add legacy_forward switch
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/stuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/stuff.c b/pttbbs/mbbsd/stuff.c
index 690e228a..f83c6f37 100644
--- a/pttbbs/mbbsd/stuff.c
+++ b/pttbbs/mbbsd/stuff.c
@@ -48,9 +48,11 @@ subject_ex(const char *title, int *ptype)
} else if (str_starts_with(title, str_forward)) {
title += strlen(str_forward);
ptype = _set_ptype(ptype, SUBJECT_FORWARD);
+#ifdef USE_LEGACY_FORWARD
} else if (str_starts_with(title, str_legacy_forward)) {
title += strlen(str_legacy_forward);
ptype = _set_ptype(ptype, SUBJECT_FORWARD);
+#endif
} else {
ptype = _set_ptype(ptype, SUBJECT_NORMAL);
break;