Permalink
Browse files

plural /quotes?/ now accepted for zapp

  • Loading branch information...
1 parent e74ddda commit edef956fd05513fe73b6f3fca9dfa27fd5123604 @majuscule majuscule committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DDG/Goodie/ZappBrannigan.pm
@@ -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];

0 comments on commit edef956

Please sign in to comment.