Re: [問題] talk.c裡面

看板PttCurrent作者 (猜猜這次會變誰?)時間21年前 (2004/08/07 16:54), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
喔! 這段是我弄的, 這幾天都沒連網路 ^^" ※ 引述《deduce (耍哈哈)》之銘言: : 請問一下...我用的Current Ptt (20040802) : 今天偶然發現talk.c裡面的1976行附近是 : #ifdef PLAY_ANGLE : static int CallInAngelWarning = 1; : if( CallInAngelWarning && ! strcasecmp(uentp->userid, cuser.myangel) ){ : outmsg("直接丟水球給小天使是會被知道 ID 的喔!"); : CallInAngelWarning = 0; : } : #endif : 不知道這邊的 PLAY_ANGLE是可以另外define : 還是純粹是這一行的筆誤呢? 純筆誤, 幸好已經被 #if 0 /* Now, the anonymous one is the angel. */ #ifdef PLAY_ANGLE static int CallInAngelWarning = 1; if( CallInAngelWarning && ! strcasecmp(uentp->userid, cuser.myangel) ){ outmsg("直接丟水球給小天使是會被知道 ID 的喔!"); CallInAngelWarning = 0; } #endif #endif 用 #if 0 包起來了 XD : 另外,滿好奇如果想要不顯示小天使被水球k到的動態.. : 該怎麼做@@"? (不知道這個問題會不會太大了點...) 應該是改 mbbsd.c:328 int write_request(int sig); 沒想過要這樣做, 細節可能要請您自己想囉 ^^; -- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/M/TW d- s:++(+) a--->-- C++$ ULB+>++ P++ L++ E---@ W+ N? o? K? w--(++) O-- !M V- PS-(--) PE- Y PGP- t+ 5? X R !tv b++ DI+ D+ G e h! !r z ------END GEEK CODE BLOCK------ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.20
文章代碼(AID): #1159ZYkm (PttCurrent)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #1159ZYkm (PttCurrent)