test
This commit is contained in:
parent
ac4200dd0f
commit
3bb95b6da8
4
main.go
4
main.go
@ -143,7 +143,7 @@ func main() {
|
|||||||
Address: sp.Address,
|
Address: sp.Address,
|
||||||
CompanyID: sp.CompanyID,
|
CompanyID: sp.CompanyID,
|
||||||
}
|
}
|
||||||
clients[sp.ClientID] = clt
|
clients[sp.ClientID] = &clt
|
||||||
logInfoDebug("Clients : %v", clients)
|
logInfoDebug("Clients : %v", clients)
|
||||||
case AdminPacketServerClientError:
|
case AdminPacketServerClientError:
|
||||||
sp := PacketServerClientError{
|
sp := PacketServerClientError{
|
||||||
@ -202,7 +202,7 @@ func main() {
|
|||||||
ID64, _ = strconv.ParseInt(r.ReplaceAllString(sp.Output, "${CompanyID}"), 10, 8)
|
ID64, _ = strconv.ParseInt(r.ReplaceAllString(sp.Output, "${CompanyID}"), 10, 8)
|
||||||
clt.CompanyID = uint8(ID64)
|
clt.CompanyID = uint8(ID64)
|
||||||
clt.Address = r.ReplaceAllString(sp.Output, "${Address}")
|
clt.Address = r.ReplaceAllString(sp.Output, "${Address}")
|
||||||
clients[clt.ClientID] = clt
|
clients[clt.ClientID] = &clt
|
||||||
}
|
}
|
||||||
case AdminPacketServerRConEnd:
|
case AdminPacketServerRConEnd:
|
||||||
sp := PacketServerRConEnd{
|
sp := PacketServerRConEnd{
|
||||||
|
Loading…
Reference in New Issue
Block a user