changeset 44:f7abbe853f5d

Adding character name to downtime coincide message
author Dominic Cleal <dominic@computerkb.co.uk>
date Wed, 17 Dec 2008 00:17:45 +0000
parents edb68779265b
children 1d349044c860
files skillbot.pl
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/skillbot.pl	Sat Dec 13 11:36:07 2008 +0000
+++ b/skillbot.pl	Wed Dec 17 00:17:45 2008 +0000
@@ -506,9 +506,10 @@
 	if (skill_finish_in_downtime($f->{skill}))
 	{
 		$self->privmsg('#' . $config{channel}, sprintf(
-					   "\002%s:\002 Training completion time of %s %lu will " .
-					   "coincide with scheduled downtime at %s",
-					   $f->{nick}, $f->{skill}->name, $f->{skill}->level,
+					   "\002%s:\002 Completion time of %s's %s %lu " .
+					   "skill will coincide with scheduled downtime at %s",
+					   $f->{nick}, $f->{char}->name,
+					   $f->{skill}->name, $f->{skill}->level,
 					   scalar(gmtime($f->{skill}->finish_time))));
 	}