Increase process.setMaxListeners

This commit is contained in:
Mattias Erming 2015-04-29 12:55:13 -07:00
parent 7138ca6bda
commit 2cee0ea6ef
3 changed files with 13 additions and 6 deletions

View file

@ -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

View file

@ -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": {

View file

@ -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) {