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