3 Ocak 2010 Pazar

HelperLere Whois Çekildiğinde Kişiye Gösderilsin

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);
}


Şeklinde Değiştirin..

Hiç yorum yok:

Yorum Gönder