diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-05 00:42:30 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-05 00:42:30 +0800 |
commit | 674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7 (patch) | |
tree | 3667bf65cd288ff8fd9cfe348c7900bca6cf61db /mbbsd | |
parent | d0f61461d08d843648f9610ec02658ff74acfe91 (diff) | |
download | pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar.gz pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar.bz2 pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar.lz pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar.xz pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.tar.zst pttbbs-674ab918d3c0a9bb22aec5f2c8669fc84d7a9fa7.zip |
wasting my time
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2891 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/edit.c | 12 | ||||
-rw-r--r-- | mbbsd/pmore.c | 2 | ||||
-rw-r--r-- | mbbsd/xyz.c | 11 |
3 files changed, 0 insertions, 25 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index e50c8ad3..66994c95 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1269,22 +1269,14 @@ do_quote(void) while (fgets(buf, 256, inf)) { insert_char(':'); insert_char(' '); -#if 0 // def LOW_SECURITY - insert_string(Ptt_prints(buf, STRIP_ALL)); -#else quote_strip_ansi_inline(buf); insert_string(buf); -#endif } else if (op == 'r') while (fgets(buf, 256, inf)) { /* repost, keep anything */ -#if 0 // def LOW_SECURITY - insert_string(Ptt_prints(buf, NO_RELOAD)); -#else // quote_strip_ansi_inline(buf); insert_string(buf); -#endif } else { if (curredit & EDIT_LIST) /* 去掉 mail list 之 header */ @@ -1295,12 +1287,8 @@ do_quote(void) if (!garbage_line(buf)) { insert_char(':'); insert_char(' '); -#ifdef LOW_SECURITY - insert_string(Ptt_prints(buf, STRIP_ALL)); -#else quote_strip_ansi_inline(buf); insert_string(buf); -#endif } } } diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index 17dd9f1c..d2e4945a 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1233,14 +1233,12 @@ mf_display() buf[0] = '*'; else { -#if 1 //ndef LOW_SECURITY if(strchr("sbmlpn", buf[2]) != NULL) { override_attr = ANSI_COLOR(1;37;41); override_msg = " 注意: 此頁有控制碼," "原內容並不一定有您真實個人資訊"; } -#endif Ptt_prints(buf, NO_RELOAD); // result in buf } i = strlen(buf); diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index abbad06a..4975483f 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -358,17 +358,6 @@ Goodbye(void) } clear(); - /* why do we show user info in logout? - * no reason and it has security problem. - */ -#if 0 // def LOW_SECURITY - prints(ANSI_COLOR(1;36) "親愛的 " ANSI_COLOR(33) "%s(%s)" ANSI_COLOR(36) ",別忘了再度光臨" ANSI_COLOR(45;33) "" - " %s " ANSI_COLOR(40;36) "!\n以下是您在站內的註冊資料:" ANSI_COLOR(0) "\n", - cuser.userid, cuser.nickname, BBSName); - user_display(&cuser, 0); - pressanykey(); -#endif - more("etc/Logout", NA); if(!(cuser.userlevel & PERM_LOGINOK)) |