From 3793119209327361e9a84991a9027af1a7e3400f Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Fri, 26 Aug 2016 16:03:08 -0500 Subject: [PATCH] mod_auth_token: Fix cache hit log line --- prosody-plugins/mod_auth_token.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody-plugins/mod_auth_token.lua b/prosody-plugins/mod_auth_token.lua index f080d506b..c1ed87ac6 100644 --- a/prosody-plugins/mod_auth_token.lua +++ b/prosody-plugins/mod_auth_token.lua @@ -107,11 +107,11 @@ function get_public_key(keyId) wait(); if code == 200 or code == 204 then - module:log("debug", "Cache hit for key: "..keyId); return content; end else -- If the key is in the cache, use it. + module:log("debug", "Cache hit for key: "..keyId); return content; end