From 6ecde79475c586f330e9611900d2238adffe0f21 Mon Sep 17 00:00:00 2001 From: jomo Date: Sat, 14 Feb 2015 02:17:55 +0100 Subject: [PATCH] capes_dir != capes_path --- modules/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helpers.js b/modules/helpers.js index 0624d46..f9a9028 100644 --- a/modules/helpers.js +++ b/modules/helpers.js @@ -320,7 +320,7 @@ exp.get_cape = function(rid, userId, callback) { callback(err, null, null); return; } - var capepath = __dirname + "/../" + config.capes_path + cape_hash + ".png"; + var capepath = __dirname + "/../" + config.capes_dir + cape_hash + ".png"; fs.exists(capepath, function(exists) { if (exists) { logging.log(rid + "cape already exists, not downloading");