diff --git a/components/profile.js b/components/profile.js index d0948c4..9e35613 100644 --- a/components/profile.js +++ b/components/profile.js @@ -114,7 +114,7 @@ SteamCommunity.prototype.editProfile = function(settings, callback) { } self._myProfile("edit", values, function(err, response, body) { - if (values.customURL) { + if (settings.customURL) { delete self._profileURL; }