diff --git a/Slash/DB/MySQL/MySQL.pm b/Slash/DB/MySQL/MySQL.pm index 60e2f91dc..6587645f9 100644 --- a/Slash/DB/MySQL/MySQL.pm +++ b/Slash/DB/MySQL/MySQL.pm @@ -9241,6 +9241,13 @@ sub getUrlFromSid { sub grantStorySubmissionKarma { my($self, $story) = @_; + my $constants = getCurrentStatic(); + if ($constants->{plugin}{FireHose}) { + if($story->{fhid}) { + my $firehose = getObject("Slash::FireHose"); + $firehose->setFireHose($story->{fhid}, { accepted => "yes"}); + } + } return 0 unless $story->{subid}; my($submitter_uid) = $self->sqlSelect( 'uid', 'submissions',