Mercurial > hg > skillbot
changeset 11:277d818f5496
Changing notice to privmsg
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sat, 06 Dec 2008 15:54:14 +0000 |
parents | 9cc6dbc803f6 |
children | d9526ab0c6bb |
files | skillbot.pl |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/skillbot.pl Sat Dec 06 15:47:34 2008 +0000 +++ b/skillbot.pl Sat Dec 06 15:54:14 2008 +0000 @@ -415,8 +415,9 @@ } add_one_shot_timer($skill->finish_time - time(), sub { - $self->notice('#' . $config{channel}, sprintf("[%s] %s", - $f->{nick}, encode("utf8", $text))); + $self->privmsg('#' . $config{channel}, sprintf( + chr(2) . "%s:" . chr(15) . " %s", + $f->{nick}, encode("utf8", $text))); delete $f->{skill}; }); }