comparison skillbot.pl @ 40:19cc55690fd7

Missing brackets
author Dominic Cleal <dominic@computerkb.co.uk>
date Sun, 07 Dec 2008 14:50:27 +0000
parents 4dd6009b0d2a
children bf685f1a545f
comparison
equal deleted inserted replaced
39:4dd6009b0d2a 40:19cc55690fd7
460 # Nothing training 460 # Nothing training
461 unless (defined $skill) 461 unless (defined $skill)
462 { 462 {
463 # If the char was training before and now has stopped then cancel 463 # If the char was training before and now has stopped then cancel
464 # the announcement 464 # the announcement
465 if defined $f->{timer} { 465 if (defined $f->{timer}) {
466 del_one_shot_timer($f->{timer}); 466 del_one_shot_timer($f->{timer});
467 delete $f->{timer}; 467 delete $f->{timer};
468 } 468 }
469 return; 469 return;
470 } 470 }