repo: ngircd action: commit revision: path_from: revision_from: 398022631a573a2b8de7811cacb6c202e90f263e: path_to: revision_to:
commit 398022631a573a2b8de7811cacb6c202e90f263e Author: Alexander BartonDate: Sun Dec 13 19:55:47 2015 +0100 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! diff --git a/src/ngircd/irc-server.c b/src/ngircd/irc-server.c
--- a/src/ngircd/irc-server.c +++ b/src/ngircd/irc-server.c @@ -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++; }
-----END OF PAGE-----