aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/writewrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/writewrap.js b/utils/writewrap.js
index 96f1ad1..3ca7ede 100644
--- a/utils/writewrap.js
+++ b/utils/writewrap.js
@@ -5,7 +5,7 @@ class wwrap extends EventEmitter{
constructor(socket){
super();
socket.on('write', (acc) => { // Assumed that none are rejected because I've never seen it
- for (w of acc) this.emit(w);
+ for (let w of acc) this.emit(w);
});
}
}