Permalink
Browse files

Update lib/irc.js

Forgot one.
  • Loading branch information...
1 parent ec49854 commit c6ce76d2c26f17a6d10093d35c77d6b1ca822d90 @damianb committed Jan 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/irc.js
View
@@ -818,7 +818,7 @@ Client.prototype._handleCTCP = function(from, to, text, type, message) {
this.emit('ctcp', from, to, text, type, message)
this.emit('ctcp-'+type, from, to, text, message)
if (type === 'privmsg' && text === 'VERSION')
- this.emit('ctcp-version', from, to)
+ this.emit('ctcp-version', from, to, message)
if (parts[0] === 'ACTION' && parts.length > 1)
this.emit('action', from, to, parts.slice(1).join(' '), message)
if (parts[0] === 'PING' && type === 'privmsg' && parts.length > 1)

0 comments on commit c6ce76d

Please sign in to comment.