summaryrefslogtreecommitdiff
path: root/lib/nickserver/config.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-04-10 14:22:12 +0200
committerAzul <azul@riseup.net>2016-04-10 17:31:24 +0200
commit78f11d66a8521492a2fbca78c9e9c9e99ebc4a3e (patch)
tree3d4b1737b972268baccf6e535d858113288a4eab /lib/nickserver/config.rb
parent8bf870a11aa713ac91b22d790c5fcb129734406e (diff)
bugfix: 404 if no key matches, fixes #6789
I also separated the parsing of the hkp response from FetchKeyInfo. This way FetchKeyInfo has the EM specific code that has sideeffects and the logic is in a class without sideeffects and (almost) without state. The only state we keep is the KeyInfo array that contains all the information the server returns. This way we avoid parsing the response multiple times.
Diffstat (limited to 'lib/nickserver/config.rb')
0 files changed, 0 insertions, 0 deletions