Skip to content

Commit

Permalink
more battles filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkvist committed Apr 16, 2013
1 parent 55f7c8f commit 2465d2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bf3/core.clj
Expand Up @@ -442,8 +442,10 @@
(when (and (or (false? server) (= server (:server battle)))
(or (true? testservers)
(some #(= % (:server battle)) (vals bf3.bl/server-ids)))
(< 15 (count (:live battle)))
(< 1 (count (:users battle))))
(< 15 (count (:users battle)))
(< (* 5 60)
(time/in-secs (time/interval (clj-time.format/parse (->> battle :time :start))
(clj-time.format/parse (->> battle :time :end))))))
[:li.battle
(into [:div.info]
(concat ( show-battle-info battle)
Expand Down

0 comments on commit 2465d2c

Please sign in to comment.