From 09327af220d2a634e4b38c1bae52ce2e2ade1d51 Mon Sep 17 00:00:00 2001 From: Alexander Corn Date: Wed, 29 Jul 2015 22:31:05 -0400 Subject: [PATCH] Fixed one more crash --- classes/CSteamGroup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/CSteamGroup.js b/classes/CSteamGroup.js index 112ec24..dca58ef 100644 --- a/classes/CSteamGroup.js +++ b/classes/CSteamGroup.js @@ -147,6 +147,7 @@ CSteamGroup.prototype.postAnnouncement = function(headline, content, callback) { "body": content }; + var self = this; this._community.request.post("https://steamcommunity.com/gid/" + this.steamID.toString() + "/announcements", {"form": form}, function(err, response, body) { if(!callback) { return;