Mercurial > prosody-modules
diff mod_auth_http_async/mod_auth_http_async.lua @ 1930:95bbf3c4aa27
mod_auth_http_async: Don't set global
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 24 Oct 2015 13:19:10 +0200 |
parents | 439711709d29 |
children | bd5412eb0a6d |
line wrap: on
line diff
--- a/mod_auth_http_async/mod_auth_http_async.lua Fri Oct 23 16:57:06 2015 +0200 +++ b/mod_auth_http_async/mod_auth_http_async.lua Sat Oct 24 13:19:10 2015 +0200 @@ -23,7 +23,7 @@ local content, code, request, response; local ret; - function cb(content_, code_, request_, response_) + local function cb(content_, code_, request_, response_) content, code, request, response = content_, code_, request_, response_; done(); end