Disable debug logs in npm releases
This is temporary until https://github.com/thelounge/lounge/issues/459, but meanwhile we should not be spamming connection debug messages in releases or pre-releases.
This commit is contained in:
parent
376fdee8b1
commit
a0315b13d1
@ -74,9 +74,10 @@ module.exports = function(irc, network) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
irc.on("debug", function(message) {
|
// TODO Add a debug mode. See https://github.com/thelounge/lounge/issues/459
|
||||||
log.debug("[" + client.name + " (#" + client.id + ") on " + network.name + " (#" + network.id + ")]", message);
|
// irc.on("debug", function(message) {
|
||||||
});
|
// log.debug("[" + client.name + " (#" + client.id + ") on " + network.name + " (#" + network.id + ")]", message);
|
||||||
|
// });
|
||||||
|
|
||||||
irc.on("socket error", function(err) {
|
irc.on("socket error", function(err) {
|
||||||
network.channels[0].pushMessage(client, new Msg({
|
network.channels[0].pushMessage(client, new Msg({
|
||||||
|
Loading…
Reference in New Issue
Block a user