Fixed crash when unable to check confirmations

This commit is contained in:
Alexander Corn 2016-01-21 01:14:52 -05:00
parent b83c40419c
commit 05c2da89da

View File

@ -239,7 +239,7 @@ SteamCommunity.prototype.checkConfirmations = function() {
self.getConfirmations(key.time, key.key, function(err, confirmations) {
if(err) {
this.emit('debug', "Can't check confirmations: " + err.message);
self.emit('debug', "Can't check confirmations: " + err.message);
resetTimer();
return;
}