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, }, }