Error for 'replace' of undefined, of 3 january 2021
Madriix opened this issue · comments
1609615417 # Serious problem (uncaughtException) - this should not happen but the JBNC is still running. TypeError: Cannot read property 'replace' of undefined
at TLSSocket. (/home/debian/node/jbnc/bouncer.js:1054:51)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at TLSSocket.Readable.push (_stream_readable.js:212:10)
at TLSWrap.onStreamRead (internal/stream_base_commons.js:186:23)
I warn that there is this bug. I don't prefer to correct this error myself, I'm afraid of breaking other things.
Line error replace undefined: https://github.com/toc-irc/jbnc/blob/master/bouncer.js#L1054