From 54a938b54d642a9f57ae7a4ac23f949823f17b2c Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 28 Apr 2020 22:43:13 -0700 Subject: [PATCH] BanList: Remove repeated "ago" --- PBot/BanList.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/BanList.pm b/PBot/BanList.pm index 9a91d3da..54df4f3b 100644 --- a/PBot/BanList.pm +++ b/PBot/BanList.pm @@ -108,7 +108,7 @@ sub banlist_cmd { if (defined $data->{timestamp}) { my $date = strftime "%a %b %e %H:%M:%S %Y %Z", localtime $data->{timestamp}; my $ago = concise ago (time - $data->{timestamp}); - $result .= "on $date ($ago ago) "; + $result .= "on $date ($ago) "; } $result .= "by $data->{owner} " if defined $data->{owner}; @@ -563,7 +563,7 @@ sub checkban { if (defined $data->{timestamp}) { my $date = strftime "%a %b %e %H:%M:%S %Y %Z", localtime $data->{timestamp}; my $ago = concise ago (time - $data->{timestamp}); - $result .= "on $date ($ago ago) "; + $result .= "on $date ($ago) "; } $result .= "by $data->{owner} " if defined $data->{owner};