Tekil Mesaj gösterimi
Alt 27 Temmuz 2022, 23:19   #6
OmerAti
OmerAti - ait Kullanıcı Resmi (Avatar)

Standart

this module is an existing module as a result of my review, I see incompleteness in your code

Kod

u_int is_invited(aClient *sptr, aChannel *chptr) {
just below

Kod

Link    *lp;
add and

Kod

if (chptr != NULL && is_invited(sptr, chptr) && MyClient(sptr) && !IsAnOper(sptr) && !IsULine(sptr)) {
Can you try replacing this line with the following line?

Kod

if (chptr != NULL && !is_invited(sptr, chptr) && MyClient(sptr) && !IsAnOper(sptr) && !IsULine(sptr)) {
shouldn't be a problem