Permalink
Browse files

Support + and ! channels

  • Loading branch information...
1 parent c60b696 commit d34eb6163064399302f473d7561493bd879bdb62 @valscion committed Aug 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/irc.js
View
@@ -382,7 +382,7 @@ function Client(server, nick, opt) {
break;
}
self.emit('message', from, to, text, message);
- if ( to.match(/^[&#]/) ) {
+ if ( to.match(/^[&#+!]/) ) {
self.emit('message#', from, to, text, message);
self.emit('message' + to, from, text, message);
if ( to != to.toLowerCase() ) {

0 comments on commit d34eb61

Please sign in to comment.