Fix NJOIN not propagating "half ops" status

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!
This commit is contained in:
Alexander Barton 2015-12-13 19:55:47 +01:00
parent f2cef85fde
commit 398022631a
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ IRC_NJOIN( CLIENT *Client, REQUEST *Req )
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++;
}