auto fill company passwd with blabla if unprotected
This commit is contained in:
parent
b43caf02a9
commit
f84f36143e
2
ttd.go
2
ttd.go
@ -557,6 +557,8 @@ func (s *ServerTTD) UpdateCompanies() {
|
||||
err = s.Send(px2.Bytes())
|
||||
logErrorDebug(err, "Server.UpdateClients() : Send(PacketAdminPoll) : AdminPacketAdminRCon")
|
||||
break
|
||||
} else if !co.Protected {
|
||||
s.SetPasswd(co.CompanyExtlID, "blabla")
|
||||
}
|
||||
}
|
||||
s.Status.UpdateCompanies = time.Now()
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "bcc20d3"
|
||||
var buildstamp = "2021-11-10_06:41:59"
|
||||
var commits = "184"
|
||||
var version = "bcc20d3-b184 - 2021-11-10_06:41:59"
|
||||
var githash = "b43caf0"
|
||||
var buildstamp = "2021-11-10_06:49:48"
|
||||
var commits = "185"
|
||||
var version = "b43caf0-b185 - 2021-11-10_06:49:48"
|
||||
|
Loading…
Reference in New Issue
Block a user