From 05c2da89dae3c4ae1deb22d1e499bf63d1961946 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Thu, 21 Jan 2016 01:14:52 -0500 Subject: [PATCH] Fixed crash when unable to check confirmations --- components/confirmations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/confirmations.js b/components/confirmations.js index 20a6ff4..880a39e 100644 --- a/components/confirmations.js +++ b/components/confirmations.js @@ -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; }