Print network name and internal ids in debug log

This commit is contained in:
Pavel Djundik 2016-07-03 11:32:57 +03:00
parent 491b3e3d0e
commit 2da6167cf5

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