mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Use concise duration for recall timestamp
This commit is contained in:
parent
381b4bee4b
commit
b66bac2359
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user