Merge pull request #546 from thelounge/astorije/no-debug-in-releases
Disable debug logs in npm releases
This commit is contained in:
commit
5c19b723f5
@ -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