Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more battles filtering

  • Loading branch information...
commit 2465d2cd3fdeba5480ae83f553dc96cfac474b61 1 parent 55f7c8f
@dalkvist authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/bf3/core.clj
View
6 src/bf3/core.clj
@@ -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)

0 comments on commit 2465d2c

Please sign in to comment.
Something went wrong with that request. Please try again.