ngIRCd tested for the wrong prefix of "half ops" when processing NJOIN
commands and therefore never classified a remote user as "half op".
Thanks to wowaname for pointing this out on #ngircd!
if( *ptr == '~' ) is_owner = true;
if( *ptr == '&' ) is_chanadmin = true;
if( *ptr == '@' ) is_op = true;
if( *ptr == '~' ) is_owner = true;
if( *ptr == '&' ) is_chanadmin = true;
if( *ptr == '@' ) is_op = true;
- if( *ptr == 'h' ) is_halfop = true;
+ if( *ptr == '%' ) is_halfop = true;
if( *ptr == '+' ) is_voiced = true;
ptr++;
}
if( *ptr == '+' ) is_voiced = true;
ptr++;
}