From e8c0d54b021c43aec816633623e6dbdca66ef025 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 28 Oct 2013 14:55:34 +0000 Subject: [PATCH] bleh --- modules/steam/steam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,