From 5853968661718e92288f6a2821b047f827106836 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Oct 2015 23:20:30 +0200 Subject: [PATCH] Fix CSteamUser constructor --- classes/CSteamUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/CSteamUser.js b/classes/CSteamUser.js index ea80894..ded3acb 100644 --- a/classes/CSteamUser.js +++ b/classes/CSteamUser.js @@ -98,7 +98,7 @@ function CSteamUser(community, userData, customurl) { }); } - function processItem(name, defaultVal) { + function processItem(userData, name, defaultVal) { if(!userData[name]) { return defaultVal; }