From e3c1d0980069a006d4f8d8f0841ff661e5e25424 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 11 Oct 2021 20:33:14 +0800 Subject: [PATCH] update --- core/im.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/im.go b/core/im.go index f0b8be0..7befa16 100644 --- a/core/im.go +++ b/core/im.go @@ -250,7 +250,7 @@ func (_ *BaseSender) Await(sender Sender, callback func(string, Sender, error) i c.Result = make(chan interface{}, 1) key := fmt.Sprintf("u=%v&c=%v&i=%v", sender.GetUserID(), sender.GetChatID(), sender.GetImType()) if oc, ok := waits.LoadOrStore(key, c); ok { - oc.(Carry).Chan <- InterruptError + oc.(*Carry).Chan <- InterruptError } fmt.Println(key) fmt.Println(waits.Load(key))