Mercurial > hg > skillbot
comparison skillbot.pl @ 65:680fca147aee
Fixing typo
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sat, 21 Nov 2009 12:34:35 +0000 |
parents | 962dada7587e |
children | 5db6fd5ffe17 |
comparison
equal
deleted
inserted
replaced
64:962dada7587e | 65:680fca147aee |
---|---|
511 # Check for changes in the skill, skip or cancel announcement | 511 # Check for changes in the skill, skip or cancel announcement |
512 if (defined $f->{skill}) { | 512 if (defined $f->{skill}) { |
513 # If the skill's the same, check the finish time and skip if | 513 # If the skill's the same, check the finish time and skip if |
514 # nothing's changed | 514 # nothing's changed |
515 return if ($skill->id eq $f->{skill} | 515 return if ($skill->id eq $f->{skill} |
516 && $f{$f->{skill_finish} == $skill->finish_time); | 516 && $f->{skill_finish} == $skill->finish_time); |
517 | 517 |
518 # Skill or finish time has changed, delete previous announcement | 518 # Skill or finish time has changed, delete previous announcement |
519 del_one_shot_timer($f->{timer}); | 519 del_one_shot_timer($f->{timer}); |
520 delete $f->{timer}; | 520 delete $f->{timer}; |
521 } | 521 } |