1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-08 04:58:58 +08:00
parent ba1483241c
commit d17f3eccdb
3 changed files with 15 additions and 32 deletions

View File

@@ -27,7 +27,7 @@ func (*ServerHandler) Kick(_ context.Context, userid uint32) error {
cl, ok := cool.GetClient(useid1)
if !ok {
return fmt.Errorf("server not found")
return nil
}
cl.KickPerson(userid) //实现指定服务器踢人
return nil