From aaedc2f3aab3d2aecaeb58d73300fe96f324a07f Mon Sep 17 00:00:00 2001 From: jomo Date: Wed, 18 Feb 2015 21:35:54 +0100 Subject: [PATCH] naming things is hard --- modules/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/helpers.js b/modules/helpers.js index 5c88cf2..fb19db3 100644 --- a/modules/helpers.js +++ b/modules/helpers.js @@ -239,11 +239,11 @@ exp.get_avatar = function(rid, userId, helm, size, callback) { if (helm && exists) { filepath = helmpath; } - skins.resize_img(filepath, size, function(img_err, result) { + skins.resize_img(filepath, size, function(img_err, image) { if (img_err) { callback(img_err, -1, null, skin_hash); } else { - callback(err, (err ? -1 : status), result, skin_hash); + callback(err, (err ? -1 : status), image, skin_hash); } }); });