fix user config

This commit is contained in:
shoopea 2020-02-10 12:21:35 +08:00
parent 6759afee8a
commit 2bd918a431

2
bot.go
View File

@ -894,7 +894,7 @@ func botCraftItem(m *ChatWarsMessage, r *regexp.Regexp) {
func botUserConfig(m *ChatWarsMessage) {
clt, _ := getLockedClient(m.TGUserID64, false)
clt.Mux.Unlock()
out := fmt.Sprintf("Config for %s (running build %s):\n", clt.Login, clt.Version)
out := fmt.Sprintf("Config for %s (running build %s):\n", clt.Login, clt.Build)
if clt.Config.InterceptPillage {
out = fmt.Sprintf("%s Pillage : ON (<a href=\"https://t.me/share/url?url=/config_pillage_off\">set off</a>)\n", out)
} else {