From 8752349210e8a5ef47fe6b6b84108ea6d72998d0 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 19 Jul 2025 08:54:38 -0700 Subject: [PATCH] applets/trans.pl: disallow `-pager` --- applets/trans.pl | 5 +++++ lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/applets/trans.pl b/applets/trans.pl index 6977fe88..f7c70eae 100755 --- a/applets/trans.pl +++ b/applets/trans.pl @@ -17,5 +17,10 @@ $args =~ s/^\s+|\s+$//g; my $opts = '-j -no-ansi -no-autocorrect'; $opts .= ' -b' unless $args =~ /^-/; +if ($args =~ m/-pager/) { + print "I don't think so.\n"; + exit; +} + my $result = `trans $opts $args`; print "$result\n"; diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 30cf365d..c83d8161 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4871, - BUILD_DATE => "2025-07-08", + BUILD_REVISION => 4872, + BUILD_DATE => "2025-07-19", }; sub initialize {}