From 2cee0ea6ef5ee51de0190332f976934b55bbc8e4 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Wed, 29 Apr 2015 12:55:13 -0700 Subject: [PATCH] Increase process.setMaxListeners --- CHANGELOG.md | 13 +++++++++---- package.json | 4 ++-- src/plugins/irc-events/link.js | 2 ++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be4dd014..59ca5bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +0.51.1 / 2015-04-29 +=================== + +* Increase process.setMaxListeners to prevent link preview to cause a crash + 0.51.0 / 2015-04-16 ================== @@ -6,24 +11,24 @@ * Added 'displayNetwork' setting 0.49.3 / 2015-01-04 -================== +=================== * Fully expand chat when userlist is hidden * Remove vertical whitespace in chat windows * Support @mention 0.49.2 / 2015-01-04 -================== +=================== * Fix crash on broken links 0.49.1 / 2015-01-04 -================== +=================== * Fix undefined content-type (link plugin) 0.49.0 / 2014-12-23 -================== +=================== * Replaced superagent with request * Solves a problem where some links would crash the server diff --git a/package.json b/package.json index 980d0bbe..87ca0035 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", - "description": "Web IRC client", - "version": "0.51.0", + "description": "The self-hosted Web IRC client", + "version": "0.51.1", "author": "Mattias Erming", "preferGlobal": true, "bin": { diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index 6d350ad2..8a7cb754 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -5,6 +5,8 @@ var request = require("request"); var Helper = require("../../helper"); var es = require('event-stream'); +process.setMaxListeners(0); + module.exports = function(irc, network) { var client = this; irc.on("message", function(data) {