1
0
Fork 0
forked from External/grumble

RegisterClient: missing !

This commit is contained in:
rubenseyer 2018-01-15 18:58:20 +01:00
parent 07c0eeaa84
commit 19d8d352da

View file

@ -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")
} }