From d8f937c64da51f9266b7f7928c715c45c8da456e Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 18 Jan 2024 14:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/moonlv/api_receive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/moonlv/api_receive.go b/modules/moonlv/api_receive.go index 64576e241..d03e4cbd5 100644 --- a/modules/moonlv/api_receive.go +++ b/modules/moonlv/api_receive.go @@ -48,7 +48,7 @@ func (this *apiComp) TaskAward(session comm.IUserSession, req *pb.MoonlvTaskAwar return } list.Tasks[req.TaskId] = 1 - if conf, err = this.module.configure.GetMoonLvConf(list.Lv); err == nil { + if conf, err = this.module.configure.GetMoonLvConf(list.Lv); err != nil { errdata = &pb.ErrorData{ Code: pb.ErrorCode_ConfigNoFound, Title: pb.ErrorCode_ConfigNoFound.ToString(),