forked from External/grumble
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.
|
// Grumble can only register users with certificates.
|
||||||
if client.HasCertificate() {
|
if !client.HasCertificate() {
|
||||||
return 0, errors.New("no cert hash")
|
return 0, errors.New("no cert hash")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue