mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +01:00
Whoops, extraneous "my" harmlessly overshadows a variable. Fixed.
This commit is contained in:
parent
74e3a03d42
commit
334b414f7d
@ -97,7 +97,7 @@ sub interpreter {
|
|||||||
|
|
||||||
my $level = defined $admin ? $admin->{level} : 0;
|
my $level = defined $admin ? $admin->{level} : 0;
|
||||||
|
|
||||||
my $keyword = lc $keyword;
|
$keyword = lc $keyword;
|
||||||
|
|
||||||
foreach my $ref (@{ $self->{handlers} }) {
|
foreach my $ref (@{ $self->{handlers} }) {
|
||||||
if($ref->{name} eq $keyword) {
|
if($ref->{name} eq $keyword) {
|
||||||
|
Loading…
Reference in New Issue
Block a user