diff options
| author | 2007-07-03 23:26:43 +0000 | |
|---|---|---|
| committer | 2007-07-03 23:26:43 +0000 | |
| commit | 6fe4d3ecbdc3196c7c62b9b7e00d5063bd0dbee9 (patch) | |
| tree | 2804867a892bf9d6bb3c231b02938896accb5b91 /modules/command.pl | |
| parent | f52c9bd6e6e018ff0c45f1dea4ded2aeb4ae1427 (diff) | |
code optimizations, rehash bugfix, lots of cleanup, new hilights, removed some old rules, added and improved some new rules
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}/ ){ |
