NJOIN: correctly reset channel level flags

This fixes commit 7b01bb83.
Bug reported by DNS777 <dns@rbose.org>, thanks!
This commit is contained in:
Alexander Barton 2012-09-26 23:51:05 +02:00
parent 005340c83f
commit 384f965fba
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ IRC_NJOIN( CLIENT *Client, REQUEST *Req )
ptr = strtok( nick_in, "," );
while( ptr )
{
is_op = is_voiced = false;
is_owner = is_chanadmin = is_op = is_halfop = is_voiced = false;
/* cut off prefixes */
while(( *ptr == '~') || ( *ptr == '&' ) || ( *ptr == '@' ) ||