Browse Source

mod_auth_token: Fix cache hit log line

j8
Sam Whited 9 years ago
parent
commit
3793119209
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      prosody-plugins/mod_auth_token.lua

+ 1
- 1
prosody-plugins/mod_auth_token.lua View File

@@ -107,11 +107,11 @@ function get_public_key(keyId)
107 107
 		wait();
108 108
 
109 109
 		if code == 200 or code == 204 then
110
-			module:log("debug", "Cache hit for key: "..keyId);
111 110
 			return content;
112 111
 		end
113 112
 	else
114 113
 		-- If the key is in the cache, use it.
114
+		module:log("debug", "Cache hit for key: "..keyId);
115 115
 		return content;
116 116
 	end
117 117
 

Loading…
Cancel
Save