2
0
mirror of https://git.coolaj86.com/coolaj86/telebit-relay.js.git synced 2025-02-24 09:58:04 +00:00
This commit is contained in:
AJ ONeal 2016-09-22 18:41:45 -04:00
parent d999107ea8
commit 7216611463

View File

@ -162,11 +162,13 @@ function socketToId(socket) {
});
*/
remotes[token.name] = remote;
rserver.on('data', function (chunk) {
unpacker.fns.addChunk(chunk);
});
function closeEm() {
console.log("closing connection to '" + token.name + "'");
delete remotes[token.name];
Object.keys(remote.clients).forEach(function (cid) {