NeTDeLiSi | 07 Eylül 2007 12:34 | Sunucu girişine yönetim şablonu. Kod:
cd ircservices-5.0.5*
cd modules/operserv
pico news.c news.c dosyası içerisinde aşağıdaki satırı buluyoruz ; Kod:
static int new_user_callback(User *u)
{
display_news(u, NEWS_LOGON);
return 0;
} yukardaki satırı aşağıdaki gibi değiştiriyoruz ; Kod:
static int new_user_callback(User *u)
{
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :Sunucu Sahibi : Nick", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :Teknik Sorumlu : Nick", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :IRCD Guvenlik : Nick", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :Radyo Sorumlusu : Nick", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :Kanal Sorumlusu : Nick", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :", u->nick);
send_cmd(s_GlobalNoticer, "NOTICE %s :Nick Sorumlusu : Nick", u->nick);
display_news(u, NEWS_LOGON);
return 0;
} Daha sonra dosyayı kayıt edip çıkıyoruz ; Kod:
cd ../..
make
make install servislerimizi restartlıyoruz. Editten örnek ; Alıntı:
[12:35] -Soylenti- Sunucu Sahibi : CooL
-
[12:35] -Soylenti- Teknik Sorumlu : NeTDeLiSi
-
[12:35] -Soylenti- IRCD Security : NeTDeLiSi
-
[12:35] -Soylenti- Radyo Sorumlusu : CooL
-
[12:35] -Soylenti- Kanal Sorumlusu : KaRaNLıK
-
[12:35] -Soylenti- Nick Sorumlusu : NeTDeLiSi
-
| |