X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=NDWeb%2FPages%2FIntel.pm;h=6e1d17fc8225567345d729ed08326d24f77c9c10;hb=5d49b3579d2ad39f6ae9bc2dba37ebbf0334e0da;hp=a5dfc5e77b37cf5d6832c01276fae568ee7cb18a;hpb=62e8f0d857b12761d85b8c97ffab2bc02d4b6777;p=ndwebbie.git diff --git a/NDWeb/Pages/Intel.pm b/NDWeb/Pages/Intel.pm index a5dfc5e..6e1d17f 100644 --- a/NDWeb/Pages/Intel.pm +++ b/NDWeb/Pages/Intel.pm @@ -216,7 +216,9 @@ sub render_body { AND ((( t.alliance_id != o.alliance_id OR t.alliance_id IS NULL OR o.alliance_id IS NULL) AND (i.mission = 'Defend' OR i.mission = 'AllyDef' )) OR ( t.alliance_id = o.alliance_id AND i.mission = 'Attack')) AND i.sender NOT IN (SELECT planet FROM users u NATURAL JOIN groupmembers gm WHERE gid = 8 AND planet IS NOT NULL) - $showticks})); + AND NOT (i.back IS NOT NULL AND i.back = i.tick + 4) + $showticks + })); $query->execute() or $error .= $DBH->errstr; my @intellists;