diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-19 01:30:12 +0000 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-19 01:30:12 +0000 |
commit | 39319fe275f5a6d2d526ffc44f43bcaf4ff4cd76 (patch) | |
tree | 9bf09e2973f158330471cee1c9756ea5abb5c1a6 /utils | |
parent | 1aef96809d17dfcc54ac0941931803661818264c (diff) |
fixed other utils/ident bugs
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ident.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ident.js b/utils/ident.js index 035f1d8..187132f 100644 --- a/utils/ident.js +++ b/utils/ident.js @@ -1,5 +1,7 @@ // A portable script to find the sender when the server websocket opens (by cursor movement) +const vec = require('../utils/vec'); + module.exports = function identify(sock, initOnce, init, deinit){ // `sock` should be Socket instance. // initOnce and init should be functions that act like they describe; initOnce runs once per program execution and init whenever the socket turns back on |