Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

parsing bugfix

  • Loading branch information...
commit dddc2cbea8dbef1d7846fb1246e999f1701d22f5 1 parent be61a96
@einaros authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  IRC.js
View
2  IRC.js
@@ -510,7 +510,7 @@ private(IRC.prototype, {
// anything other than ctcp
var parts = line.trim().split(/ :/)
, args = parts[0].split(' ');
- if (parts.length > 0) args.push(parts[1]);
+ if (parts.length > 1) args.push(parts.slice(1).join(' :'));
if (line.match(/^:/)) {
args[1] = args.splice(0, 1, args[1]);
args[1] = (args[1] + '').replace(/^:/, '');
Please sign in to comment.
Something went wrong with that request. Please try again.