Helperlara whois çekildiğinde kişiye göstersin

Otium

Altın Üye
Katılım
8 May 2007
Mesajlar
8,480
Reaction score
0
Puanları
0
Telnet'e Giriyoruz.
m_whois.c'de

Kod:
if (IsWhois(acptr) && (sptr != acptr))
{
sendto_one(acptr,
":%s %s %s :*** %s (%s@%s) did a /whois on you.",
me.name, IsWebTV(acptr) ? "PRIVMSG" : "NOTICE", acptr->name, sptr->name,
sptr->user->username, sptr->user->realhost);
}


yazan kısmı
Kod:
if (IsWhois(acptr) || IsHelpOp(acptr) && (sptr != acptr))
{
sendto_one(acptr,
":%s %s %s :*** %s (%s@%s) did a /whois on you.",
me.name, IsWebTV(acptr) ? "PRIVMSG" : "NOTICE", acptr->name, sptr->name,
sptr->user->username, sptr->user->realhost);
}

seklinde degistiriyoruz.
 
Geri
Üst