From 2bd918a4312aac8d44460f1bfdad99296ea71e15 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 10 Feb 2020 12:21:35 +0800 Subject: [PATCH] fix user config --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 65a9dff..a7be46d 100644 --- a/bot.go +++ b/bot.go @@ -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 (set off)\n", out) } else {