From 482c264b7e16fe7d1822f838416f2615796c9ad8 Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Sat, 14 Jun 2014 18:36:47 -0500 Subject: Colour mantis links pink, remove <> (ChangeAj) --- lib/Crawl/Bot/Plugin/Mantis.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Crawl/Bot/Plugin/Mantis.pm b/lib/Crawl/Bot/Plugin/Mantis.pm index aa357a9..f66259f 100644 --- a/lib/Crawl/Bot/Plugin/Mantis.pm +++ b/lib/Crawl/Bot/Plugin/Mantis.pm @@ -27,7 +27,7 @@ sub said { my @keys = (who => $args->{who}, channel => $args->{channel}, "body"); if ($args->{body} =~ /^%bug (\d+)$/) { - $self->say(@keys, "https://crawl.develz.org/mantis/view.php?id=$1"); + $self->say(@keys, "\00313https://crawl.develz.org/mantis/view.php?id=$1\017"); } } @@ -42,7 +42,7 @@ sub tick { (my $title = $item->{title}) =~ s/\d+: //; my $link = $item->{link}; (my $user = $item->{creator}) =~ s/ <.*?>$//; - $self->say_all("$title <$link> by $user"); + $self->say_all("$title \00313$link\017 by $user"); $self->add_item($id); }); $self->save_item_cache; -- cgit v1.2.3-54-g00ecf