Skip to content

Commit

Permalink
Obey '#output?' method (LOGSTASH-537)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Aug 6, 2012
1 parent 707e4bc commit 4957f8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/logstash/outputs/irc.rb
Expand Up @@ -56,6 +56,7 @@ def register

public
def receive(event)
return unless output?(event)
@bot.channels.each do |channel|
channel.msg(event.sprintf(@format))
end # channels.each
Expand Down

0 comments on commit 4957f8b

Please sign in to comment.