mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix: panic after -10005
This commit is contained in:
parent
ca20a3d6bf
commit
0714aac1f0
@ -334,8 +334,10 @@ func signCallback(uin string, results []gjson.Result, t string) {
|
||||
if err != nil {
|
||||
log.Warnf("callback error: %v", err)
|
||||
}
|
||||
if len(ret) > 10 {
|
||||
signSubmit(uin, cmd, callbackID, ret, t)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func signRequset(seq uint64, uin string, cmd string, qua string, buff []byte) (sign []byte, extra []byte, token []byte, err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user