Tekil Mesaj gösterimi
Alt 31-07-07, 03:57   #1
LeySs
LeySs - ait Kullanıcı Resmi (Avatar)
Üyelik tarihi: Jul 2007
Mesajlar: 10
Konular: 10
Aldığı Teşekkür : 0
NF Puanı : 10
NF Seviyesi : LeySs is on a distinguished road
Whois den idleyi kaldirmak

Whois den idleyi kaldirmak
Kod:
/*
* Fix /whois to not show idle times of
* global opers to anyone except another
* global oper or services.
* -CodeM/Barubary
*/
if (MyConnect(acptr))
sendto_one(sptr, rpl_str(RPL_WHOISIDLE),
me.name, parv[0], name,
TStime() - acptr->last, acptr->firsttime);
}
if (!found)
sendto_one(sptr, err_str(ERR_NOSUCHNICK),
me.name, parv[0], nick);
if (p)
p[-1] = ',';
}
sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], parv[1]);

return 0;
}
cd Unreal3.2
cd src
cd modules
pico m_whois.c

Yukarıdaki Satırları Bul En Altta Zaten...

Şu hale getir:


Kod:
/*
* Fix /whois to not show idle times of
* global opers to anyone except another
* global oper or services.
* -CodeM/Barubary
*/
if (IsAnOper(sptr)) {
if (MyConnect(acptr))
sendto_one(sptr, rpl_str(RPL_WHOISIDLE),
me.name, parv[0], name,
TStime() - acptr->last, acptr->firsttime);
}
}
if (!found)
sendto_one(sptr, err_str(ERR_NOSUCHNICK),
me.name, parv[0], nick);
if (p)
p[-1] = ',';
}
sendto_one(sptr, rpl_str(RPL_ENDOFWHOIS), me.name, parv[0], parv[1]);

return 0;
}
Çalışacaktır. Dikkat Edin biraz Karışık oldu Çünkü...

iyi Çalışmalar...
LeySs isimli Üye şimdilik offline konumundadır  
Alıntı ile Cevapla