Posts Tagged “Whois”

oper OperEklenecekNick {
from {
userhost *@*;
};
password “OperŞifresi”;
flags FLAG;
snomask “SNOMASKLAR”;
swhois “SWHOIS”;
class clients;
};
Burda Oper eklerken swhois kısmına eklediğin bilgi whoisde gozukur.
Kod:
swhois “Özel Bilgi”;
Şeklinde eklersin.

Comments Yorumlar kapalı

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…

Comments Yorumlar kapalı

Uselerin birbirine çektikleri whoisleri görmeleri için ;
unrealircd.conf daki :

modes-on-connect “+iwxW”;

W flağını ekleyip /rehash çekiniz.

Comments Yorumlar kapalı

mirc islami sohbet