changeset 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
files skillbot.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skillbot.pl	Sat Nov 21 12:47:54 2009 +0000
+++ b/skillbot.pl	Sun Feb 07 21:42:43 2010 +0000
@@ -238,7 +238,7 @@
 			grep {
 				((defined $2 && (lc($_->{char}) eq lc($2)
 						|| lc($2) eq 'all' || lc($2) eq '*'))
-					|| (!defined $2 && $_->{nick} eq $their_nick))
+					|| (!defined $2 && lc($_->{nick}) eq lc($their_nick)))
 			} @friends;
 
 		for my $f (@filtered)