From: Alexander Barton Date: Sun, 13 Dec 2015 18:55:47 +0000 (+0100) Subject: Fix NJOIN not propagating "half ops" status X-Git-Tag: rel-24-rc1~58 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=398022631a573a2b8de7811cacb6c202e90f263e 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 index 92186aff..265a9859 100644 --- 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++; }