You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My bot keeps crashing every week or two due to the error. I love node-irc but i am not happy with the error. I did some browsing and this what they claim to help. I do not host my code. The irc server owner does and suggested i send this. THE ERROR
.../node_modules/irc/lib/irc.js:849
throw err;
^
TypeError: Cannot read property 'filter' of undefined
at chanModes (.../node_modules/irc/lib/irc.js:300:37)
at .../node_modules/irc/lib/irc.js:319:25
at Array.forEach (native)
at Client. (.../node_modules/irc/lib/irc.js:270:26)
at emitOne (events.js:77:13)
at Client.emit (events.js:169:7)
at iterator (.../node_modules/irc/lib/irc.js:846:26)
at Array.forEach (native)
at Socket.handleData (.../node_modules/irc/lib/irc.js:841:15)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
THEFIX!!
line 319 chanModes(mode, [modeArg]);
[modeArg] needs to be modeArg
no [ ]
The text was updated successfully, but these errors were encountered:
My bot keeps crashing every week or two due to the error. I love node-irc but i am not happy with the error. I did some browsing and this what they claim to help. I do not host my code. The irc server owner does and suggested i send this.
THE ERROR
.../node_modules/irc/lib/irc.js:849
throw err;
^
TypeError: Cannot read property 'filter' of undefined
at chanModes (.../node_modules/irc/lib/irc.js:300:37)
at .../node_modules/irc/lib/irc.js:319:25
at Array.forEach (native)
at Client. (.../node_modules/irc/lib/irc.js:270:26)
at emitOne (events.js:77:13)
at Client.emit (events.js:169:7)
at iterator (.../node_modules/irc/lib/irc.js:846:26)
at Array.forEach (native)
at Socket.handleData (.../node_modules/irc/lib/irc.js:841:15)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
THE FIX!!
line 319 chanModes(mode, [modeArg]);
[modeArg] needs to be modeArg
no [ ]
The text was updated successfully, but these errors were encountered: