作者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