Skip to content

Commit

Permalink
Short-circuit out of handle_remarks if no remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiemccarthy committed May 17, 2006
1 parent 7c4f3f9 commit 3e10947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/slashcode/tasks/ircslash.pl
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ sub possible_check_dbs {
sub handle_remarks {
my $slashdb = getCurrentDB();
my $remarks = getObject('Slash::Remarks');
return if $hushed;
return if $hushed || !$remarks;

my $constants = getCurrentStatic();
$next_remark_id ||= $slashdb->getVar('ircslash_nextremarkid', 'value', 1) || 1;
Expand Down

0 comments on commit 3e10947

Please sign in to comment.