* 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 <m@tthamilton.com> * Update nickserv.go Compare the case-normalized target to Account() --------- Signed-off-by: Matt Hamilton <m@tthamilton.com> Co-authored-by: Shivaram Lingamneni <slingamn@cs.stanford.edu>pull/2131/head
|
|
||
1398 |
|
1398 |
|
1399 |
|
1399 |
|
1400 |
|
1400 |
|
|
1401 |
|
|
|
1402 |
|
|
|
1403 |
|
|
|
1404 |
|
|
|
1405 |
|
|
1401 |
|
1406 |
|
1402 |
|
1407 |
|
1403 |
|
1408 |
|