summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-04-26 18:40:20 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-04-26 18:40:20 +0800
commitbc2be47f4ab630698c45d7fbcc76503548cfb8f8 (patch)
tree9445c2c595fa2523cf44f514cf822a20ad280e69
parentec531a47c5f3680d8d9013c804d8a1f8c8b33498 (diff)
downloadpttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar.gz
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar.bz2
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar.lz
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar.xz
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.tar.zst
pttbbs-bc2be47f4ab630698c45d7fbcc76503548cfb8f8.zip
workarounds to eliminate bugs: weather out of date,
viewpostmoney does not work with FILE_BOTTOM. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2713 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c3
-rw-r--r--mbbsd/menu.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 4c009f5e..e7e597f9 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2027,6 +2027,9 @@ view_postmoney(int ent, const fileheader_t * fhdr, const char *direct)
return FULLUPDATE;
}
if(fhdr->filemode & FILE_ANONYMOUS)
+ /* donothing because substitute_ref_record forgot to update multi.money */
+ vmsg("置底的文章很重要,記得看就好了,別理它的價格");
+ else if(fhdr->filemode & FILE_ANONYMOUS)
/* When the file is anonymous posted, fhdr->multi.anon_uid is author.
* see do_general() */
vmsg("匿名管理編號: %d (同一人號碼會一樣)",
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index ebd5887e..4f7fea73 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -479,7 +479,8 @@ static const commands_t playlist[] = {
#endif
#endif
{note, PERM_LOGINOK, "NNote 【 刻刻流言板 】"},
- {x_weather,0 , "WWeather 【 氣象預報 】"},
+/* XXX 壞掉了, 或許可以換成 weather.today/weather.tomorrow 但反正沒意義 */
+/* {x_weather,0 , "WWeather 【 氣象預報 】"}, */
/* XXX 壞掉了 */
/* {x_stock,0 , "SStock 【 股市行情 】"},*/
{forsearch,PERM_LOGINOK, "SSearchEngine【\033[1;35m Ptt搜尋器 \033[m】"},