X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=tools.pl;h=bf6af1804e4f3e6456d79e88646a9fd2c65ccd84;hb=694738744665b442290449960760fdd09c48d3fd;hp=f162dad5a159674c7b34d44f04016f83c299422a;hpb=742dde9fdf8ef61c1a1382d326aaa2c1293a9f54;p=perl%2Fscripts%2Fxchat.git diff --git a/tools.pl b/tools.pl index f162dad..bf6af18 100755 --- a/tools.pl +++ b/tools.pl @@ -118,7 +118,7 @@ hook_command 'WIDE', sub { hook_command 'HGREP', sub { my $txt = $_[1][1]; return EAT_ALL unless defined $txt; - $txt = qr/$txt/; + $txt = qr/$txt/i; my @matches; for (get_list 'users') { my $host = $_->{host};