Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle NS cert add myself <fp> (#2128)
* Gracefully handle NS cert add myself <fp> A non-operator with the nick "mynick" attempts to register a fingerprint to their authenticated account. They /msg NickServ cert add mynick <fingerprint> NickServ responds with "Insufficient privileges" because they've accidentally invoked the operator syntax (to action other accounts). This patch allows the user to add the fingerprint if the client's account is identical to the target account. Signed-off-by: Matt Hamilton <[email protected]> * Update nickserv.go Compare the case-normalized target to Account() --------- Signed-off-by: Matt Hamilton <[email protected]> Co-authored-by: Shivaram Lingamneni <[email protected]>
- Loading branch information