Browse Source

/ns erase should confirm with /ns erase rather than unregister.

tags/v2.1.0-rc1
Alex Jaspersen 4 years ago
parent
commit
e0f91f5649
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/nickserv.go

+ 1
- 1
irc/nickserv.go View File

@@ -935,7 +935,7 @@ func nsUnregisterHandler(server *Server, client *Client, command string, params
935 935
 		} else {
936 936
 			nsNotice(rb, ircfmt.Unescape(client.t("$bWarning: unregistering this account will remove its stored privileges.$b")))
937 937
 		}
938
-		nsNotice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS UNREGISTER %s %s", accountName, expectedCode)))
938
+		nsNotice(rb, fmt.Sprintf(client.t("To confirm, run this command: %s"), fmt.Sprintf("/NS %s %s %s", strings.ToUpper(command), accountName, expectedCode)))
939 939
 		return
940 940
 	}
941 941
 

Loading…
Cancel
Save