Skip to content

Commit

Permalink
skip ks if no query
Browse files Browse the repository at this point in the history
  • Loading branch information
pudge committed Feb 23, 2007
1 parent 1cfb30f commit 1f51e26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/FireHose/FireHose.pm
Expand Up @@ -280,7 +280,8 @@ sub getFireHoseEssentials {
$options->{limit} ||= 50; $options->{limit} ||= 50;


my($items, $results, $doublecheck) = ([], {}, 0); my($items, $results, $doublecheck) = ([], {}, 0);
if (!$options->{no_search} && $constants->{firehose_searchtoo}) { # && $options->{qfilter}) { # for now, only bother to try searchtoo if there is a qfilter value to search on
if (!$options->{no_search} && $constants->{firehose_searchtoo} && $options->{qfilter}) {
my $searchtoo = getObject('Slash::SearchToo'); my $searchtoo = getObject('Slash::SearchToo');
if ($searchtoo && $searchtoo->handled('firehose')) { if ($searchtoo && $searchtoo->handled('firehose')) {
my(%opts, %query); my(%opts, %query);
Expand Down

0 comments on commit 1f51e26

Please sign in to comment.