The CMsgDOTAGetPlayerMatchHistoryResponse does not have a result field, so the statement  "if (profileResponse.result === 1)" always evaluates to false. Changed it to return true if the object has matches assocated, and false if not. Also changed the responce varrable name from profileResponse to matchHistoryResponse to make it easier to understand.
The CMsgDOTAGetPlayerMatchHistoryResponse does not have a result field, so the statement  "if (profileResponse.result === 1)" always evaluates to false. Changed it to return true if the object has matches assocated, and false if not. Also changed the responce varrable name from profileResponse to matchHistoryResponse to make it easier to understand.


Signed-off-by: Chet Michals <2b5f049c9d58c1f2a549576f41816f533b314b41@gmail.com>

pendo324/node-dota2,d2rm/node-dota2,Arcana/node-dota2,RJacksonm1/node-dota2,Arcana/node-dota2,idreamshen/node-dota2,pendo324/node-dota2,idreamshen/node-dota2,devilesk/node-dota2,d2rm/node-dota2,devilesk/node-dota2,RJacksonm1/node-dota2