From edd507b2e0518ee5c353e70970f333a5e88a5397 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 15 Mar 2014 08:12:52 +0000 Subject: [PATCH] Show channel in quotegrabs getq command --- PBot/Quotegrabs.pm | 4 ++-- PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/Quotegrabs.pm b/PBot/Quotegrabs.pm index c4fb29e4..16ce62cb 100644 --- a/PBot/Quotegrabs.pm +++ b/PBot/Quotegrabs.pm @@ -398,9 +398,9 @@ sub show_quotegrab { my ($first_nick) = split /\+/, $quotegrab->{nick}, 2; if($text =~ s/^\/me\s+//) { - return "$arguments: grabbed by $quotegrab->{grabbed_by} on " . localtime($timestamp) . " [$ago] * $first_nick $text"; + return "$arguments: grabbed by $quotegrab->{grabbed_by} in $quotegrab->{channel} on " . localtime($timestamp) . " [$ago] * $first_nick $text"; } else { - return "$arguments: grabbed by $quotegrab->{grabbed_by} on " . localtime($timestamp) . " [$ago] <$first_nick> $text"; + return "$arguments: grabbed by $quotegrab->{grabbed_by} in $quotegrab->{channel} on " . localtime($timestamp) . " [$ago] <$first_nick> $text"; } } diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 60092fdd..d129d1fa 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 527, + BUILD_REVISION => 528, BUILD_DATE => "2014-03-15", };