Unreal4.x Oper Whois Gizleme (+X)
Merhaba @[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] arkadaşımız [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Unreal3.2.x sürümü için paylaşmış biz de Unreal4.x e uyarladık;
Klasör: -> unrealircd-4.x/src/ Dosya: -> (umodes.c) Bulun Kod:
long UMODE_HIDLE = 0L; /* Hides the idle time of opers */ Kod:
long UMODE_OPERWHOIS = 0L; /* Whois Gizleme */ Yine aynı dosyada bulun Kod:
UmodeAdd(NULL, 'I', UMODE_GLOBAL, 1, umode_allow_opers, &UMODE_HIDLE); Kod:
UmodeAdd(NULL, 'X', UMODE_GLOBAL, 1, umode_allow_opers, &UMODE_OPERWHOIS); Klasör: -> unrealircd-4.x/include/ Dosya: -> (h.h) Bulun Kod:
extern MODVAR long UMODE_HIDLE; /* hides oper idle times */ Kod:
extern MODVAR long UMODE_OPERWHOIS; /* Whois Gizleme */ Klasör: -> unrealircd-4.x/src/modules/ Dosya: -> (m_whois.c) Bulun Kod:
#include "unrealircd.h" Kod:
#define IsWhois(cptr) (cptr->umodes & UMODE_OPERWHOIS) Yine aynı dosyada bulun Kod:
if (!IsPerson(acptr)) Kod:
if (IsWhois(acptr) && !IsOper(sptr) && (acptr->umodes & UMODE_OPERWHOIS)) SSH de make & make install ve ./unrealircd restart |
All times are GMT +3. The time now is 12:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.