Permalink
Browse files

Merge pull request #68 from tapichu/master

Fix problem with 'QUIT' command
  • Loading branch information...
2 parents b488e75 + 932a57b commit 7764063393a5fe8287454eb8df892d52c91f93ba @martynsmith martynsmith committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/irc.js
View
2 lib/irc.js
@@ -717,7 +717,7 @@ function parseMessage(line, stripColors) { // {{{
}
// Parse command
- match = line.match(/^([^ ]+) +/);
+ match = line.match(/^([^ ]+) */);
message.command = match[1];
message.rawCommand = match[1];
message.commandType = 'normal';

0 comments on commit 7764063

Please sign in to comment.