mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
RegisterClient: missing !
This commit is contained in:
parent
07c0eeaa84
commit
19d8d352da
1 changed files with 1 additions and 1 deletions
|
|
@ -1090,7 +1090,7 @@ func (s *Server) RegisterClient(client *Client) (uid uint32, err error) {
|
|||
}
|
||||
|
||||
// Grumble can only register users with certificates.
|
||||
if client.HasCertificate() {
|
||||
if !client.HasCertificate() {
|
||||
return 0, errors.New("no cert hash")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue