forked from GitHub/dbot
		
	sight
This commit is contained in:
		
							parent
							
								
									1d2a5f891e
								
							
						
					
					
						commit
						c1ac7f035d
					
				| @ -70,7 +70,8 @@ var steam = function(dbot) { | ||||
|                 }, | ||||
|                 'json': true | ||||
|             }, function(err, res, body) { | ||||
|                 if(_.has(body, 'response') && _.has(body.response, 'players') && body.response.player != null) { | ||||
|                 if(_.has(body, 'response') && _.has(body.response, 'players') && | ||||
|                         body.response.players != null) { | ||||
|                     callback(null, body.response.players[0]); | ||||
|                 } else { | ||||
|                     callback(true, null); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality