Permalink
Browse files

Fix rpl_namreply on InspIRCd networks (closes #55)

  • Loading branch information...
1 parent d3fa065 commit 334f4173d8d5f0992f31ff4aecfab18b7ecaf032 @martynsmith martynsmith committed Nov 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/irc.js
View
@@ -196,7 +196,7 @@ function Client(server, nick, opt) {
break;
case "rpl_namreply":
var channel = self.chanData(message.args[2]);
- var users = message.args[3].split(/ +/);
+ var users = message.args[3].trim().split(/ +/);
if ( channel ) {
users.forEach(function (user) {
var match = user.match(/^(.)(.*)$/);

0 comments on commit 334f417

Please sign in to comment.