mirror of
https://github.com/osmarks/ngircd.git
synced 2025-02-07 21:00:03 +00:00
NJOIN: correctly reset channel level flags
This fixes commit 7b01bb83. Bug reported by DNS777 <dns@rbose.org>, thanks!
This commit is contained in:
parent
005340c83f
commit
384f965fba
@ -219,7 +219,7 @@ IRC_NJOIN( CLIENT *Client, REQUEST *Req )
|
|||||||
ptr = strtok( nick_in, "," );
|
ptr = strtok( nick_in, "," );
|
||||||
while( ptr )
|
while( ptr )
|
||||||
{
|
{
|
||||||
is_op = is_voiced = false;
|
is_owner = is_chanadmin = is_op = is_halfop = is_voiced = false;
|
||||||
|
|
||||||
/* cut off prefixes */
|
/* cut off prefixes */
|
||||||
while(( *ptr == '~') || ( *ptr == '&' ) || ( *ptr == '@' ) ||
|
while(( *ptr == '~') || ( *ptr == '&' ) || ( *ptr == '@' ) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user