Skip to content

Commit

Permalink
Merge pull request #15 from pusherman/master
Browse files Browse the repository at this point in the history
Parsing out ~ & and % in the channel user list
  • Loading branch information
martynsmith committed May 24, 2011
2 parents f790ccb + 4caffb2 commit 69cd7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ function Client(server, nick, opt) {
var channel = self.chans[message.args[2]];
var users = message.args[3].split(/ +/);
users.forEach(function (user) {
var match = user.match(/^([@+])?(.*)$/);
var match = user.match(/^([@+%~\&])?(.*)$/);
if ( !match[1] )
match[1] = "";
channel.users[match[2]] = match[1];
Expand Down

0 comments on commit 69cd7a4

Please sign in to comment.