diff options
Diffstat (limited to 'js/matrix.js')
| -rw-r--r-- | js/matrix.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/matrix.js b/js/matrix.js index 79f3d9f..a8ac200 100644 --- a/js/matrix.js +++ b/js/matrix.js @@ -170,7 +170,7 @@ Matrix.prototype.mirc = function () { line += lex.sanitize() } else { - if (x > 0 && last && (last.bg != 1 || last.fg != 0)) line += "\x03" + if (x > 0 && last) line += "\x03" line += lex.mirc() last = lex } @@ -187,6 +187,7 @@ Matrix.prototype.irssi = function(){ .replace(/\"/g, '\\\"') .replace(/\'/g, '\\\'') .replace(/\`/g, '\\\`') + .replace(/\$/g, '\\$') .replace(/\s+\n/g, '\n') .replace(/\s+$/g, '\n') .replace(/^\n+/, '') |
