This commit is contained in:
OfficialDakari 2024-04-30 11:33:06 +05:00
parent c104f3c26b
commit ca051c6821
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ sock.on('message', (msg, info) => {
if (!user) return; if (!user) return;
const targetIp = ips[user.username]; const targetIp = ips[user.username];
const targetPort = ports[user.username]; const targetPort = ports[user.username];
console.log(targetIp, targetPort); console.log(targetIp, targetPort, user, ips, ports);
if (!targetIp || !targetPort) return; if (!targetIp || !targetPort) return;
sock.send(encrypt(dec, user.key, config.iv, config.algorithm), targetPort, targetIp); sock.send(encrypt(dec, user.key, config.iv, config.algorithm), targetPort, targetIp);
}); });