lookjapan.COM - IRC ve mIRC dünyasının forumu!

lookjapan.COM - IRC ve mIRC dünyasının forumu! (http://www.lookjapan.com/index.php)
-   Anope Hazır Kodlar (http://www.lookjapan.com/forumdisplay.php?f=199)
-   -   Rumuza özel INFO komutu yasaklama. (http://www.lookjapan.com/showthread.php?t=1775)

Entrance 29 Temmuz 2015 21:15

Rumuza özel INFO komutu yasaklama.
 
Alıntı:

FaNeMoN Nickli Üyeden Alıntı (Mesaj 1041632908)
Merhaba Entrance yukarıda anlattığınız işlemler Anope Services içinde geçerlimi?

Merhaba,


Klasör: -> Anope-1.8*/src/core/
Dosya: -> (ns_info.c)

BULUN,
Kod:

/* Being an oper is enough from now on -GD */


ALTINA,
Kod:

if (!stricmp("Entrance", nick))
{
if (! is_services_oper(u)) {
send_cmd(s_NickServ, "NOTICE %s Bu rumuza info çekmek yasaktır.", u->nick);
return;
}
}



EKLEYIN
, ilgili alanda make ve make install + sunucunuz üzerinden /os restart komutlarını uygulayın. Bu düzenleme ile mantıken /NS INFO NICK ve /NS INFO NICK ALL komutlarını kullanan kişiye belirtilen uyarı gidecektir.

İyi forumlar ..^^*


All times are GMT +3. The time now is 13:17.

Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.