Browse Source

Merge branch 'issue1883'

tags/v2.9.0-rc1
Shivaram Lingamneni 2 years ago
parent
commit
e112a78b9b
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      irc/nickserv.go

+ 7
- 1
irc/nickserv.go View File

1170
 		if newPassword == "*" {
1170
 		if newPassword == "*" {
1171
 			newPassword = ""
1171
 			newPassword = ""
1172
 		}
1172
 		}
1173
+
1174
+		checkPassword := params[2]
1175
+		if checkPassword == "*" {
1176
+			checkPassword = "" // #1883
1177
+		}
1178
+
1173
 		if target == "" {
1179
 		if target == "" {
1174
 			errorMessage = `You're not logged into an account`
1180
 			errorMessage = `You're not logged into an account`
1175
-		} else if newPassword != params[2] {
1181
+		} else if newPassword != checkPassword {
1176
 			errorMessage = `Passwords do not match`
1182
 			errorMessage = `Passwords do not match`
1177
 		} else {
1183
 		} else {
1178
 			if !nsLoginThrottleCheck(service, client, rb) {
1184
 			if !nsLoginThrottleCheck(service, client, rb) {

Loading…
Cancel
Save