소스 검색

fix #1059

tags/v2.2.0-rc1
Shivaram Lingamneni 4 년 전
부모
커밋
97789cde7e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      irc/nickserv.go

+ 2
- 0
irc/nickserv.go 파일 보기

@@ -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…
취소
저장