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