Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ugh, only show actual open tickets with !gimme

  • Loading branch information...
commit f74ff68fdea8ff6e3b0a9ae139f7fec8f591c31a 1 parent aa646ce
@alloy alloy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/macruby_bugmash_bot/db.rb
View
2  lib/macruby_bugmash_bot/db.rb
@@ -73,7 +73,7 @@ def self.tickets_marked_for_review
end
def self.random_open_ticket
- t = tickets.filter(:assigned_to => nil).all
+ t = tickets.filter(:assigned_to => nil, :closed => false).all
unless t.empty?
index = rand(t.size)
t[index]
Please sign in to comment.
Something went wrong with that request. Please try again.