diff --git a/modules/ChatManagement/Handler/BanStickerSet.Handler.cs b/modules/ChatManagement/Handler/BanStickerSet.Handler.cs index e188b9a..64b5ad7 100644 --- a/modules/ChatManagement/Handler/BanStickerSet.Handler.cs +++ b/modules/ChatManagement/Handler/BanStickerSet.Handler.cs @@ -58,12 +58,10 @@ public partial class BanStickerSet return; } - if (!list.Exists(e => e == stickerSet)) + if (!list.Remove(stickerSet)) { return; } - - list.Remove(stickerSet); option.SetValue(list); Db.AddOrUpdate(option);