Skip to content

Commit

Permalink
Fix for the colon issue martynsmith#122
Browse files Browse the repository at this point in the history
  • Loading branch information
Pumpuli committed Nov 14, 2012
1 parent b30e1f6 commit c1659f9
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 @@ -873,7 +873,7 @@ function parseMessage(line, stripColors) { // {{{

// Parse parameters
if ( line.indexOf(':') != -1 ) {
match = line.match(/(.*)(?:^:|\s+:)(.*)/);
match = line.match(/(.*?)(?:^:|\s+:)(.*)/);
middle = match[1].trimRight();
trailing = match[2];
}
Expand Down

0 comments on commit c1659f9

Please sign in to comment.