mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
fix #1059
This commit is contained in:
parent
4cadb7ad58
commit
97789cde7e
1 changed files with 2 additions and 0 deletions
|
|
@ -1092,6 +1092,8 @@ func nsCertHandler(server *Server, client *Client, command string, params []stri
|
||||||
target, certfp = params[0], params[1]
|
target, certfp = params[0], params[1]
|
||||||
} else if len(params) == 1 {
|
} else if len(params) == 1 {
|
||||||
certfp = params[0]
|
certfp = params[0]
|
||||||
|
} else if len(params) == 0 && verb == "add" && rb.session.certfp != "" {
|
||||||
|
certfp = rb.session.certfp // #1059
|
||||||
} else {
|
} else {
|
||||||
nsNotice(rb, client.t("Invalid parameters"))
|
nsNotice(rb, client.t("Invalid parameters"))
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue