summaryrefslogtreecommitdiffstats
path: root/scripts/rainbow.pl
diff options
context:
space:
mode:
authorJari Matilainen2015-11-25 15:47:52 +0100
committerJari Matilainen2015-11-25 15:47:52 +0100
commit3ef538d781fb20f294efc28e17ca94d258ee6d6f (patch)
treedba2e5e4dc7d6721f0d0281c6e0462568f44d2bc /scripts/rainbow.pl
parent3788aa4479ae8290b8bc6302c762aa95183e7bfe (diff)
downloadscripts.irssi.org-3ef538d781fb20f294efc28e17ca94d258ee6d6f.tar.bz2
Removed double-comma output from rainbow.pl
Diffstat (limited to 'scripts/rainbow.pl')
-rw-r--r--scripts/rainbow.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rainbow.pl b/scripts/rainbow.pl
index 80e5d40..df6501d 100644
--- a/scripts/rainbow.pl
+++ b/scripts/rainbow.pl
@@ -66,7 +66,7 @@ sub make_colors {
$last = $color;
$newstr .= "\003";
$newstr .= sprintf("%02d", $colors[$color]);
- $newstr .= (($char eq ",") ? ",," : $char);
+ $newstr .= $char;
}
return $newstr;