Skip to content

Commit

Permalink
Fix retrieving multiple certificate fingerprints on InspIRCd v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Aug 18, 2024
1 parent cd7ece4 commit f33b6b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/handlers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ const handlers = {
RPL_WHOISCERTFP: function(command, handler) {
const cache_key = command.params[1].toLowerCase();
const cache = handler.cache('whois.' + cache_key);
cache.certfp = command.params[command.params.length - 1];
cache.certfp = cache.certfp || [];
cache.certfp.push(command.params[command.params.length - 1]);
},

RPL_WHOISACCOUNT: function(command, handler) {
Expand Down

0 comments on commit f33b6b4

Please sign in to comment.