changeset 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
files skillbot.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/skillbot.pl	Sun Dec 07 11:18:23 2008 +0000
+++ b/skillbot.pl	Sun Dec 07 11:37:53 2008 +0000
@@ -265,7 +265,7 @@
 			$nreply .= $f->{char}->name . " (" . $f->{skill}->time_remaining . ") | ";
 		}
 		
-		$self->privmsg('#' . $config{channel}, $nreply);
+		$self->privmsg('#' . $config{channel}, substr($nreply, 0, -3));
 	}
 }