Closed sigv closed 12 years ago
!PING as well,
/home/robert/src/ircnode/client.js:309
irc._socket.write('PONG ' + data.slice(data.indexOf(':')) + '\r\n');
^
TypeError: Object #<Object> has no method 'indexOf'
at EventEmitter.<anonymous> (/home/robert/src/ircnode/client.js:309:47)
at EventEmitter.emit (events.js:67:17)
at EventEmitter.<anonymous> (/home/robert/src/ircnode/client.js:318:17)
at EventEmitter.emit (events.js:88:20)
at Socket.<anonymous> (/home/robert/src/ircnode/client.js:302:17)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:347:14)
I will look into this issue.
Fixed. Closing the issue.
If someone writes
!PRIVMSG
in the chat, the bot will crash trying to parse the command. Bot output: