3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-29 15:40:02 +01:00

review fix

This commit is contained in:
Shivaram Lingamneni 2019-05-29 05:06:40 -04:00
parent 634d3c9629
commit ef796f1b11

View File

@ -598,7 +598,7 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
certfp := client.certfp certfp := client.certfp
if passphrase == "*" { if passphrase == "*" {
if certfp == "" { if certfp == "" {
nsNotice(rb, client.t("You need to either supply a passphrase or be connected via TLS with a client cert")) nsNotice(rb, client.t("You must be connected with TLS and a client certificate to do this"))
return return
} else { } else {
passphrase = "" passphrase = ""