plural /quotes?/ now accepted for zapp

master
Dylan Lloyd 2012-06-19 17:03:10 -04:00
parent e74ddda437
commit edef956fd0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ triggers any => "zapp", "brannigan";
zci is_cached => 0;
handle query => sub {
return if $_ !~ m/quote/;
return if $_ !~ m/quotes?/;
my @quotes = share('quotes.txt')->slurp;
my $rand = int(rand(scalar(@quotes)));
my $quote = $quotes[$rand];