From b66bac23595905b77434c760e34a2dd92493c3f9 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 4 Aug 2017 21:05:55 -0700 Subject: [PATCH] Use concise duration for recall timestamp --- PBot/MessageHistory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/MessageHistory.pm b/PBot/MessageHistory.pm index c56304b6..b828b4a7 100644 --- a/PBot/MessageHistory.pm +++ b/PBot/MessageHistory.pm @@ -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";