作者scwg (猜猜這次會變誰?)
看板PttCurrent
標題Re: [問題] talk.c裡面
時間Sat Aug 7 16:58:26 2004
喔! 這段是我弄的, 這幾天都沒連網路 ^^"
※ 引述《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