update
This commit is contained in:
parent
a050893720
commit
38a1d8a898
2
bot.go
2
bot.go
@ -159,7 +159,7 @@ func botPlayers(m *tb.Message) {
|
||||
}
|
||||
offline := ""
|
||||
for _, cc := range cfg.Clients {
|
||||
if !cc.Online {
|
||||
if _, ok := srv.Status.Companies[cc.CompanyID]; ok && !cc.Online {
|
||||
offline = offline + fmt.Sprintf(" - @%s (%s) : %s", cc.Username, cc.TimeLeft, srv.Status.Companies[cc.CompanyID].Name) + "\r\n"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "a8844b4"
|
||||
var buildstamp = "2021-11-08_14:31:15"
|
||||
var commits = "172"
|
||||
var version = "a8844b4-b172 - 2021-11-08_14:31:15"
|
||||
var githash = "a050893"
|
||||
var buildstamp = "2021-11-08_14:48:10"
|
||||
var commits = "173"
|
||||
var version = "a050893-b173 - 2021-11-08_14:48:10"
|
||||
|
Loading…
Reference in New Issue
Block a user