IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi

IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi (https://www.ircrehberi.net/)
-   Unreal IRCd (https://www.ircrehberi.net/unreal-ircd/)
-   -   any fix to unreal 6.1.1.1 (https://www.ircrehberi.net/unreal-ircd/161710-any-fix-unreal-6-1-1-1-a.html)

Konrado 28 Temmuz 2023 06:16

any fix to unreal 6.1.1.1
 
Standart Don't allow users with umode +B to join (channel mode +B)
u_int is_invited(aClient *sptr, aChannel *chptr) {
for (lp = sptr->user->invited; lp; lp = lp->next)
if (lp->value.chptr == chptr)
return 1;

return 0;
}

static int m_myjoin(aClient *sptr, aChannel *chptr, char *parv[]) {
if (chptr != NULL && is_invited(sptr, chptr) && MyClient(sptr) && !IsAnOper(sptr) && !IsULine(sptr)) {
if (chptr->mode.extmode & EXTCMODE_NOBOTS && sptr->umodes & UMODE_BOT) {
sendnotice(sptr, "*** Cannot join channel %s: Bots are not permitted.", chptr->chname);
return HOOK_DENY;
}
}
return HOOK_CONTINUE;
}

OmerAti 28 Temmuz 2023 11:37

ne yapmak istiyorsunuz detayli yazarmisin

Konrado 02 Ağustos 2023 05:41

:ABRAZANDO:
Alıntı:

OmerAti Nickli Üyeden Alıntı (Mesaj 1351816)
ne yapmak istiyorsunuz detayli yazarmisin



Alıntı:

avoid that people who have a specific mode such as +B do not let them pass to the channels.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Copyright ©2019 - 2023 | IRCRehberi