diff --git a/ttd.go b/ttd.go index a3522ef..0390fa9 100644 --- a/ttd.go +++ b/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() diff --git a/version.go b/version.go index eb3663a..eff4d2a 100644 --- a/version.go +++ b/version.go @@ -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"