Browse Source

fix #1059

tags/v2.2.0-rc1
Shivaram Lingamneni 4 years ago
parent
commit
97789cde7e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      irc/nickserv.go

+ 2
- 0
irc/nickserv.go View File

@@ -1092,6 +1092,8 @@ func nsCertHandler(server *Server, client *Client, command string, params []stri
1092 1092
 			target, certfp = params[0], params[1]
1093 1093
 		} else if len(params) == 1 {
1094 1094
 			certfp = params[0]
1095
+		} else if len(params) == 0 && verb == "add" && rb.session.certfp != "" {
1096
+			certfp = rb.session.certfp // #1059
1095 1097
 		} else {
1096 1098
 			nsNotice(rb, client.t("Invalid parameters"))
1097 1099
 			return

Loading…
Cancel
Save