From 5e5f6ce845e1b8d1ea1e9b376f60c90beabfa389 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 17 Oct 2011 12:23:39 +0000 Subject: add legacy_forward switch git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/stuff.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3