Explorar el Código

fix #1059

tags/v2.2.0-rc1
Shivaram Lingamneni hace 4 años
padre
commit
97789cde7e
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      irc/nickserv.go

+ 2
- 0
irc/nickserv.go Ver fichero

@@ -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…
Cancelar
Guardar