changeset 40:19cc55690fd7

Missing brackets
author Dominic Cleal <dominic@computerkb.co.uk>
date Sun, 07 Dec 2008 14:50:27 +0000
parents 4dd6009b0d2a
children 2f9832b6dede
files skillbot.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skillbot.pl	Sun Dec 07 14:49:43 2008 +0000
+++ b/skillbot.pl	Sun Dec 07 14:50:27 2008 +0000
@@ -462,7 +462,7 @@
 	{
 		# If the char was training before and now has stopped then cancel
 		# the announcement
-		if defined $f->{timer} {
+		if (defined $f->{timer}) {
 			del_one_shot_timer($f->{timer});
 			delete $f->{timer};
 		}