test
This commit is contained in:
		
							parent
							
								
									6079431dda
								
							
						
					
					
						commit
						fe292ba42a
					
				
							
								
								
									
										19
									
								
								ttd.go
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								ttd.go
									
									
									
									
									
								
							| @ -453,16 +453,19 @@ func (s *ServerTTD) Poll(stop chan struct{}) { | ||||
| 			sp.Read(buffer[:p.PLength]) | ||||
| 
 | ||||
| 			switch sp.Command { | ||||
| 			case "clients": | ||||
| 				for k, v := range s.Status.Clients { | ||||
| 					logInfoDebug("Server.Poll() : Client[%d] : %s - %d (%s)", k, v.Name, v.CompanyID, v.Address) | ||||
| 				} | ||||
| 			/* | ||||
| 				case "clients": | ||||
| 					for k, v := range s.Status.Clients { | ||||
| 						logInfoDebug("Server.Poll() : Client[%d] : %s - %d (%s)", k, v.Name, v.CompanyID, v.Address) | ||||
| 					} | ||||
| 
 | ||||
| 			case "companies": | ||||
| 				for k, v := range s.Status.Companies { | ||||
| 					logInfoDebug("Server.Poll() : Company[%d] : %s", k, v.Name) | ||||
| 				} | ||||
| 				case "companies": | ||||
| 					for k, v := range s.Status.Companies { | ||||
| 						logInfoDebug("Server.Poll() : Company[%d] : %s", k, v.Name) | ||||
| 					} | ||||
| 			*/ | ||||
| 			case "pause": | ||||
| 			case "unpause": | ||||
| 			default: | ||||
| 				logInfoDebug("Server.Poll() : AdminPacketServerRConEnd :\n-  Command: %s", sp.Command) | ||||
| 			} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user