From 2e66e5c7947f864e5b078e2b16bd1653a2c7c839 Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 21 Apr 2015 23:46:07 +0200 Subject: [PATCH] add missing status for empty capes --- lib/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers.js b/lib/helpers.js index cb1052a..2c8286a 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -356,7 +356,7 @@ exp.get_render = function(rid, userId, scale, helm, body, callback) { exp.get_cape = function(rid, userId, callback) { exp.get_image_hash(rid, userId, "cape", function(err, status, cape_hash) { if (!cape_hash) { - callback(err, null, null, null); + callback(err, null, status, null); return; } var capepath = path.join(__dirname, "..", config.capes_dir, cape_hash + ".png");