Skip to content

Commit

Permalink
Update to match my suggestion after review.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Aug 27, 2024
1 parent f33b6b4 commit f2a421c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/commands/handlers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ const handlers = {
RPL_WHOISCERTFP: function(command, handler) {
const cache_key = command.params[1].toLowerCase();
const cache = handler.cache('whois.' + cache_key);
cache.certfp = cache.certfp || [];
cache.certfp.push(command.params[command.params.length - 1]);
const certfp = command.params[command.params.length - 1];
cache.certfp = cache.certfp || certfp;
cache.certfps = cache.certfps || [];
cache.certfps.push(certfp);
},

RPL_WHOISACCOUNT: function(command, handler) {
Expand Down

0 comments on commit f2a421c

Please sign in to comment.