From a84fdeae616c4c1517d29a9e1f5cc5ab7f1a02c9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 10 Feb 2020 10:21:02 +0800 Subject: [PATCH] test config --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 111a6f9..5ce5f2b 100644 --- a/client.go +++ b/client.go @@ -30,7 +30,7 @@ func loadClients() error { muxClients.Lock() for _, c := range clts { cx := ChirpClient{ - Config: ChirpConfig{ + Config: &ChirpConfig{ InterceptPillage: true, }} copier.Copy(&cx, &c) @@ -186,7 +186,7 @@ func getLockedClient(id int64, createMissing bool) (*ChirpClient, bool) { c := ChirpClient{ TGUserID64: id, Active: false, - Config: ChirpConfig{ + Config: &ChirpConfig{ InterceptPillage: true, }, }