Use concise duration for recall timestamp

This commit is contained in:
Pragmatic Software 2017-08-04 21:05:55 -07:00
parent 381b4bee4b
commit b66bac2359
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ sub recall_message {
}
my $text = $msg->{msg};
my $ago = ago(gettimeofday - $msg->{timestamp});
my $ago = concise ago(gettimeofday - $msg->{timestamp});
if($text =~ s/^\/me\s+// or $text =~ m/^KICKED /) {
$recall_text .= "[$ago] * $msg->{nick} $text\n";