test
This commit is contained in:
		
							parent
							
								
									c8b3f3e826
								
							
						
					
					
						commit
						cae2cd830c
					
				
							
								
								
									
										3
									
								
								def.go
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								def.go
									
									
									
									
									
								
							@ -65,10 +65,13 @@ func (p *PacketAdminJoin) Bytes() []byte {
 | 
			
		||||
	binary.Write(buf, binary.LittleEndian, p.PType)
 | 
			
		||||
	logInfoDebug("len : %d", buf.Len())
 | 
			
		||||
	buf.WriteString(p.Password)
 | 
			
		||||
	buf.WriteByte(0)
 | 
			
		||||
	logInfoDebug("len : %d", buf.Len())
 | 
			
		||||
	buf.WriteString(p.AppName)
 | 
			
		||||
	buf.WriteByte(0)
 | 
			
		||||
	logInfoDebug("len : %d", buf.Len())
 | 
			
		||||
	buf.WriteString(p.AppVersion)
 | 
			
		||||
	buf.WriteByte(0)
 | 
			
		||||
	logInfoDebug("len : %d", buf.Len())
 | 
			
		||||
 | 
			
		||||
	return buf.Bytes()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user