timing out message
This commit is contained in:
parent
440e45fc29
commit
62974dc19c
1
ttd.go
1
ttd.go
@ -573,6 +573,7 @@ func (s *ServerTTD) PruneClients() {
|
||||
cc := cfg.GetCompanyClient(clt.CompanyID)
|
||||
if cc.Online {
|
||||
cc.Online = false
|
||||
bot.SendChat(cfg.Telegram.ChatID, fmt.Sprintf("@%s timed out.", cc.Username))
|
||||
}
|
||||
}
|
||||
delete(s.Status.Clients, cltID)
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||
package main
|
||||
var githash = "37310c4"
|
||||
var buildstamp = "2021-11-22_08:57:20"
|
||||
var commits = "201"
|
||||
var version = "37310c4-b201 - 2021-11-22_08:57:20"
|
||||
var githash = "440e45f"
|
||||
var buildstamp = "2021-11-22_08:59:46"
|
||||
var commits = "202"
|
||||
var version = "440e45f-b202 - 2021-11-22_08:59:46"
|
||||
|
Loading…
Reference in New Issue
Block a user