summaryrefslogtreecommitdiff
path: root/bin/send-irssi-away-log
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-irssi-away-log')
-rwxr-xr-xbin/send-irssi-away-log3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/send-irssi-away-log b/bin/send-irssi-away-log
index dfa22611..768c5849 100755
--- a/bin/send-irssi-away-log
+++ b/bin/send-irssi-away-log
@@ -21,7 +21,8 @@ while (<$fh>) {
$. > $pos or next;
chomp;
s{./?}{}g;
- /^[0-9]{2}:[0-9]{2}:[0-9]{2}/ and push @lines, wrap "", "", $_;
+ /^[0-9]{2}:[0-9]{2}:[0-9]{2}\S+ \S+> /
+ and push @lines, wrap $&, " " x length $&, $';
}
exit unless @lines;