Changeset

3083:46d71b38bc16

mod_http_avatar: Remove unused variable. [luacheck]
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 01 Jun 2018 22:11:42 +0200
parents 3082:1cff081abbed
children 3084:5b4e7db5943c
files mod_http_avatar/mod_http_avatar.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_avatar/mod_http_avatar.lua	Fri Jun 01 22:05:46 2018 +0200
+++ b/mod_http_avatar/mod_http_avatar.lua	Fri Jun 01 22:11:42 2018 +0200
@@ -16,7 +16,7 @@
 </svg>]];
 
 local function get_avatar(event, path)
-	local request, response = event.request, event.response;
+	local response = event.response;
 	local photo_type, binval;
 	local vcard, err = vcard_storage:get(path);
 	if vcard then