From 334b414f7d56b196ca0fa7d6df770cb2e062a27a Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 8 Aug 2017 21:17:11 -0700 Subject: [PATCH] Whoops, extraneous "my" harmlessly overshadows a variable. Fixed. --- PBot/Commands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Commands.pm b/PBot/Commands.pm index 9b6ec5d1..e4816a30 100644 --- a/PBot/Commands.pm +++ b/PBot/Commands.pm @@ -97,7 +97,7 @@ sub interpreter { my $level = defined $admin ? $admin->{level} : 0; - my $keyword = lc $keyword; + $keyword = lc $keyword; foreach my $ref (@{ $self->{handlers} }) { if($ref->{name} eq $keyword) {