comparison skillbot.pl @ 69:3455a0ab9264

eta command no longer case sensitive on nickname
author Dominic Cleal <dominic@computerkb.co.uk>
date Sun, 07 Feb 2010 21:42:43 +0000
parents 07129a3240e5
children 999787ab415d 8764194b1bc4
comparison
equal deleted inserted replaced
68:07129a3240e5 69:3455a0ab9264
236 : 0 236 : 0
237 } 237 }
238 grep { 238 grep {
239 ((defined $2 && (lc($_->{char}) eq lc($2) 239 ((defined $2 && (lc($_->{char}) eq lc($2)
240 || lc($2) eq 'all' || lc($2) eq '*')) 240 || lc($2) eq 'all' || lc($2) eq '*'))
241 || (!defined $2 && $_->{nick} eq $their_nick)) 241 || (!defined $2 && lc($_->{nick}) eq lc($their_nick)))
242 } @friends; 242 } @friends;
243 243
244 for my $f (@filtered) 244 for my $f (@filtered)
245 { 245 {
246 check_friend($self, $f); 246 check_friend($self, $f);