From 0bd100f0276526a4e8dba5095aad0431d77e707e Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Fri, 7 Aug 2020 13:16:17 -0500 Subject: [PATCH] FIX: prosody: comment on destroy_request --- resources/prosody-plugins/token/util.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.lua index 8473cac82..22c663011 100644 --- a/resources/prosody-plugins/token/util.lib.lua +++ b/resources/prosody-plugins/token/util.lib.lua @@ -142,7 +142,7 @@ function Util:get_public_key(keyId) -- TODO: This check is racey. Not likely to be a problem, but we should -- still stick a mutex on content / code at some point. if code == nil then - -- no longer present in prosody 0.11, so cehck before calling + -- no longer present in prosody 0.11, so check before calling if http.destroy_request ~= nil then http.destroy_request(request); end