Merge pull request #2164 from thelounge/xpaw/remove-maxlisteners

Remove setMaxListeners
This commit is contained in:
Pavel Djundik 2018-03-07 09:19:04 +02:00 committed by GitHub
commit 6c6168e80a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,6 @@ const cleanIrcMessage = require("../../../client/js/libs/handlebars/ircmessagepa
const findLinks = require("../../../client/js/libs/handlebars/ircmessageparser/findLinks"); const findLinks = require("../../../client/js/libs/handlebars/ircmessageparser/findLinks");
const storage = require("../storage"); const storage = require("../storage");
process.setMaxListeners(0);
// Fix ECDH curve client compatibility in Node v8/v9 // Fix ECDH curve client compatibility in Node v8/v9
// This is fixed in Node 10, but The Lounge supports LTS versions // This is fixed in Node 10, but The Lounge supports LTS versions
// https://github.com/nodejs/node/issues/16196 // https://github.com/nodejs/node/issues/16196