diff --git a/Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs b/Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs index b2914f5f..9aed86e8 100644 --- a/Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs +++ b/Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs @@ -73,7 +73,7 @@ public async Task SearchSource(GroupQuoteCommand command) DateTime startDateTime = DateTime.Now; CoolingCache.SetHanding(command.GroupId, command.MemberId);//请求处理中 long quoteId = command.GetQuoteMessageId(); - List imgRecords = quoteId != 0 ? recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId) : new(); + List imgRecords = quoteId == 0 ? new() : recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId); List imgList = imgRecords.Select(o => o.HttpUrl).ToList(); if (imgList.Count == 0) {