mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-07 08:12:19 +02:00
Print network name and internal ids in debug log
This commit is contained in:
parent
491b3e3d0e
commit
2da6167cf5
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue