Buggy code:
else { if ( sender != null ) sender . sendMessage ( ( ( rc . getPrefs ( ) . getInfoColor ( ) ) + "There<seq2seq4repair_space>are<seq2seq4repair_space>no<seq2seq4repair_space>protected<seq2seq4repair_space>channels." ) ) ; } } else if ( broadcastChannels . containsKey ( args [ 0 ] ) ) { BroadcastChannel curChannel = broadcastChannels . get ( args [ 0 ] ) ; if ( curChannel . isProtected ( ) ) { if ( ! ( curChannel . checkChanPermissions ( sender , false ) ) ) { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "You<seq2seq4repair_space>do<seq2seq4repair_space>not<seq2seq4repair_space>have<seq2seq4repair_space>permissions<seq2seq4repair_space>to<seq2seq4repair_space>list<seq2seq4repair_space>channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "." ) ) ; return true ; } String owners = "" ; String users = "" ; for ( String owner : curChannel . owners ) { owners += owner + ",<seq2seq4repair_space>" ; } for ( String user : curChannel . users ) { users += user + ",<seq2seq4repair_space>" ; } if ( ! ( owners . isEmpty ( ) ) ) if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getInfoColor ( ) ) + "admins:<seq2seq4repair_space>" ) + extraColor ) + ( owners . substring ( 0 , ( ( owners . length ( ) ) - 2 ) ) ) ) ) ; if ( ! ( users . isEmpty ( ) ) ) if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getInfoColor ( ) ) + "users:<seq2seq4repair_space>" ) + extraColor ) + ( users . substring ( 0 , ( ( users . length ( ) ) - 2 ) ) ) ) ) ; } else { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>protected." ) ) ; } } else { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>not<seq2seq4repair_space>found." ) ) ; } } if ( ( args . length ) >= 2 ) { RCprotect . ProtCommand protCommand ; BroadcastChannel curChannel ; try { protCommand = RCprotect . ProtCommand . valueOf ( args [ 1 ] . toUpperCase ( ) ) ; } catch ( IllegalArgumentException ie ) { if ( sender != null ) sender . sendMessage ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Unknown<seq2seq4repair_space>command:<seq2seq4repair_space>" ) + ( args [ 1 ] ) ) ) ; return true ; } switch ( protCommand ) { case PROTECT : curChannel = rc . getChannelByName ( args [ 0 ] ) ; if ( ! ( curChannel . isProtected ( ) ) ) { if ( ( ! ( sender instanceof Player ) ) && ( ( args . length ) < 3 ) ) { if ( sender != null ) sender . sendMessage ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Usernames<seq2seq4repair_space>must<seq2seq4repair_space>be<seq2seq4repair_space>specified<seq2seq4repair_space>if<seq2seq4repair_space>run<seq2seq4repair_space>from<seq2seq4repair_space>console." ) ) ; return true ; } if ( ( args . length ) > 2 ) { if ( ! ( addUsers ( args , curChannel ) ) ) { if ( sender != null ) sender . sendMessage ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Unable<seq2seq4repair_space>to<seq2seq4repair_space>parse<seq2seq4repair_space>user<seq2seq4repair_space>list." ) ) ; return true ; } } if ( sender instanceof Player ) { <START_BUG> if ( ! ( curChannel . owners . contains ( ( ( Player ) ( sender ) ) . getName ( ) . toLowerCase ( ) ) ) ) ; <END_BUG> curChannel . owners . add ( ( ( Player ) ( sender ) ) . getName ( ) . toLowerCase ( ) ) ; } if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getInfoColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>protected." ) ) ; } else { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>already<seq2seq4repair_space>protected." ) ) ; } break ; case UNPROTECT : if ( broadcastChannels . containsKey ( args [ 0 ] ) ) { curChannel = broadcastChannels . get ( args [ 0 ] ) ; if ( ! ( curChannel . checkChanPermissions ( sender , true ) ) ) { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "You<seq2seq4repair_space>do<seq2seq4repair_space>not<seq2seq4repair_space>have<seq2seq4repair_space>permissions<seq2seq4repair_space>to<seq2seq4repair_space>modify<seq2seq4repair_space>channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "." ) ) ; return true ; } if ( curChannel . isProtected ( ) ) { curChannel . owners . clear ( ) ; curChannel . users . clear ( ) ; if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getInfoColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>unprotected." ) ) ; } else { if ( sender != null ) sender . sendMessage ( ( ( ( ( rc . getPrefs ( ) . getErrorColor ( ) ) + "Channel<seq2seq4repair_space>" ) + ( args [ 0 ] ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>protected." ) ) ; } }

Fix:
if ( ! ( curChannel . owners . contains ( ( ( Player ) ( sender ) ) . getName ( ) . toLowerCase ( ) ) ) )