diff --git a/modules/steam/steam.js b/modules/steam/steam.js index 964cfef..1d1fd25 100644 --- a/modules/steam/steam.js +++ b/modules/steam/steam.js @@ -91,7 +91,7 @@ var steam = function(dbot) { this.api.getSteamID(snick, function(err, steamid) { this.api.getProfile(steamid, function(err, player) { - if(!err) { + if(!err && player) { if(_.has(player, 'gameextrainfo')) { var output = dbot.t('steam_currently_playing', { 'user': user.currentNick,