Merge pull request #452 from thelounge/xpaw/extra-log-info

Print network name and internal ids in debug log
This commit is contained in:
Maxime Poulin 2016-07-03 08:35:40 +00:00 committed by GitHub
commit 2fedd861d7

View File

@ -70,7 +70,7 @@ module.exports = function(irc, network) {
}
irc.on("debug", function(message) {
log.debug("[" + client.name + " on " + network.host + ":" + network.port + "]", message);
log.debug("[" + client.name + " (#" + client.id + ") on " + network.name + " (#" + network.id + ")]", message);
});
irc.on("socket error", function(err) {