Skip to content

Commit

Permalink
Update service.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kasuganosoras authored Jan 18, 2020
1 parent c1ca142 commit e85550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func generateTLSConfig() *tls.Config {
}

func (svr *Service) CloseUser(user string) error {
ctl, ok := svr.ctlManager.GetById(user)
ctl, ok := svr.ctlManager.SearchById(user)
if !ok {
return fmt.Errorf("user not login")
}
Expand Down

0 comments on commit e85550c

Please sign in to comment.