mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 21:25:34 +02:00
Fix my previous dumb
This commit is contained in:
parent
433ad72752
commit
487968dac9
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ exports.getModule = class MrcModule extends ServerModule {
|
|||
buffer = Buffer.concat([buffer, chunk]);
|
||||
}
|
||||
|
||||
var lines = buffer.toString().split(lineDelimiter);
|
||||
let lines = buffer.toString().split(lineDelimiter);
|
||||
|
||||
if (lines.pop()) {
|
||||
// if buffer is not ended with \r\n, there's more chunks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue