log: tell to logger if an IP is now known as something.

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-03-18 20:56:21 +07:00
parent 99dc6bc6a2
commit b0b3d98c9e

View File

@ -220,6 +220,8 @@ function getOrphanSess(ws) {
orphanSess.delete(ws.id);
csess.set(ws.id, ws);
if (log_about_relays) console.log(process.pid, "---", ws.ip, "is now using session", ws.id);
newsess();
}