From 6fe4d3ecbdc3196c7c62b9b7e00d5063bd0dbee9 Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Tue, 3 Jul 2007 23:26:43 +0000 Subject: code optimizations, rehash bugfix, lots of cleanup, new hilights, removed some old rules, added and improved some new rules --- modules/command.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/command.pl') 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}/ ){ -- cgit v1.2.3