diff options
Diffstat (limited to 'modules/command.pl')
| -rw-r--r-- | modules/command.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/command.pl b/modules/command.pl index 80cda19..b0523c4 100644 --- a/modules/command.pl +++ b/modules/command.pl @@ -25,7 +25,7 @@ sub command next unless defined($::users->{person}->{$nick}->{flags}); next unless (grep {$_ eq $command->{flag}} split('', $::users->{person}->{$nick}->{flags})); if ($::users->{person}->{$nick}->{host} ne 'IDENTIFY') { - next unless leq($::users->{person}->{$nick}->{host}, $event->{host}); + next unless (lc $::users->{person}->{$nick}->{host} eq lc $event->{host}); } else { if ( $cmd =~ /$command->{cmd}/ ){ |
