Permalink
Browse files

adds sauce

  • Loading branch information...
1 parent 4578c98 commit 66e1fb16e6b2df1b1acc688a2be3439b2eca411c @simcop2387 simcop2387 committed with k Jan 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/PicBot.pm
View
@@ -133,7 +133,7 @@ sub next {
sub whosaid {
my ($robit,$args) = @_;
my $last = $robit->heap->{last};
- if ($args->{what} =~ /^whosaid/) {
+ if ($args->{what} =~ /^(whosaid|sauce)/) {
return unless exists $last->{$args->{where}};
$robit->cb->reply($args->{where} => $args->{who}.': ' . $last->{$args->{where}}->{said}
. ' in ' . $last->{$args->{where}}->{channel} . ' on ' . $last->{$args->{where}}->{network});

0 comments on commit 66e1fb1

Please sign in to comment.