Skip to content

Commit

Permalink
server/control: remove ugly join throttler
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Feb 25, 2012
1 parent 31ea6c8 commit 775550b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/failirc/server/modules/control.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -63,7 +63,5 @@ def matches? (what, client)
sleep 0.5 if (Time.now - thing.last_action.on) < 0.2 rescue nil sleep 0.5 if (Time.now - thing.last_action.on) < 0.2 rescue nil
end end


observe :joined, priority: -98 do |thing, channel| # TODO: implement a sane join throttler
sleep 0.5
end
} }

0 comments on commit 775550b

Please sign in to comment.