3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00

Whoops, extraneous "my" harmlessly overshadows a variable. Fixed.

This commit is contained in:
Pragmatic Software 2017-08-08 21:17:11 -07:00
parent 74e3a03d42
commit 334b414f7d

View File

@ -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) {