From bc2be47f4ab630698c45d7fbcc76503548cfb8f8 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 26 Apr 2005 10:40:20 +0000 Subject: 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 --- mbbsd/bbs.c | 3 +++ mbbsd/menu.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') 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】"}, -- cgit v1.2.3