3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00
This commit is contained in:
reality 2013-10-28 14:55:34 +00:00
parent c1ac7f035d
commit e8c0d54b02

View File

@ -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,