Mercurial > hg > skillbot
comparison skillbot.pl @ 36:6baa10b255ae
Removing final pipe from next output
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sun, 07 Dec 2008 11:37:53 +0000 |
parents | b0436bc63f9e |
children | 5900a37101eb |
comparison
equal
deleted
inserted
replaced
35:b0436bc63f9e | 36:6baa10b255ae |
---|---|
263 | 263 |
264 for my $f (sort { $a->{skill}->finish_time <=> $b->{skill}->finish_time } grep(defined $_->{skill}, @friends)) { | 264 for my $f (sort { $a->{skill}->finish_time <=> $b->{skill}->finish_time } grep(defined $_->{skill}, @friends)) { |
265 $nreply .= $f->{char}->name . " (" . $f->{skill}->time_remaining . ") | "; | 265 $nreply .= $f->{char}->name . " (" . $f->{skill}->time_remaining . ") | "; |
266 } | 266 } |
267 | 267 |
268 $self->privmsg('#' . $config{channel}, $nreply); | 268 $self->privmsg('#' . $config{channel}, substr($nreply, 0, -3)); |
269 } | 269 } |
270 } | 270 } |
271 | 271 |
272 sub on_notice | 272 sub on_notice |
273 { | 273 { |