mIRCForumlari.Net

mIRCForumlari.Net (https://www.mircforumlari.net/)
-   Unreal Hazır Kodlar (https://www.mircforumlari.net/unreal-hazir-kodlar/)
-   -   UnrealIRCd-4 Oper Giriş Bildirimini Değiştirme (https://www.mircforumlari.net/unreal-hazir-kodlar/5917-unrealircd-4-oper-giris-bildirimini-degistirme.html)

RahmetLi 05 Mart 2023 06:03

UnrealIRCd-4 Oper Giriş Bildirimini Değiştirme
 
unrealircd-*/src/modules/m_oper.c

bul
PHP- Kodu:

sendto_snomask_global(SNO_OPER,
                "%s (%s@%s) [%s] is now an operator",
                sptr->name, sptr->user->username, sptr->local->sockhost,
                parv[1]);

Değiştir
PHP- Kodu:

char *operclass = NULL;
 ConfigItem_oper *oper = Find_oper(sptr->user->operlogin);
 if (oper && oper->operclass){
operclass = oper->operclass;
        sendto_snomask_global(SNO_OPER,
                "%s (\2%s@%s\2) [%s] (is now a \2%s\2) ",
                sptr->name, sptr->user->username, sptr->local->sockhost,
                parv[1], operclass);
}

make && make install
./Unreal rehash


Örn: Oper girişi yaptıktan sonra yetkimiz ne ise is now a netadmin veya services-admin ne ise ona göre gösterecektir.


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 10:27.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.


Navbar with Avatar by Motorradforum