diff --git a/plugin/qqwife/command.go b/plugin/qqwife/command.go index 7896883f55..dca75f11d7 100644 --- a/plugin/qqwife/command.go +++ b/plugin/qqwife/command.go @@ -5,6 +5,7 @@ import ( "math/rand" "sort" "strconv" + "strings" "sync" "time" @@ -457,7 +458,7 @@ func (sql *婚姻登记) 清理花名册(gid ...string) error { default: err := sql.db.Drop(gid[0]) if err == nil { - err = sql.db.Del("cdsheet", "where GroupID is "+gid[0]) + _ = sql.db.Del("cdsheet", "where GroupID is "+strings.ReplaceAll(gid[0], "group", "")) } return err }