This commit is contained in:
shoopea 2021-11-10 14:08:58 +08:00
parent 6079431dda
commit fe292ba42a

3
ttd.go
View File

@ -453,6 +453,7 @@ 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)
@ -462,7 +463,9 @@ func (s *ServerTTD) Poll(stop chan struct{}) {
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)
}