diff options
author | Neil Moore <neil@s-z.org> | 2014-06-14 18:36:47 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-06-14 18:36:47 -0500 |
commit | 482c264b7e16fe7d1822f838416f2615796c9ad8 (patch) | |
tree | 2a4e1e26c97ef58054d4abb2700771780afe0dbd | |
parent | c35d66b56f8839f6bc524bda394f0dadb9c8ea53 (diff) | |
download | crawlbot-482c264b7e16fe7d1822f838416f2615796c9ad8.tar.gz crawlbot-482c264b7e16fe7d1822f838416f2615796c9ad8.zip |
Colour mantis links pink, remove <> (ChangeAj)
-rw-r--r-- | lib/Crawl/Bot/Plugin/Mantis.pm | 4 |
1 files 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; |