Skip to content

Commit cd66a15

Browse files
committed
Invalid constant assignment
1 parent 26a778e commit cd66a15

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/logstash/inputs/irc.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ def run(output_queue)
103103
end
104104
end # def run
105105

106+
RPL_NAMREPLY = "353"
107+
RPL_ENDOFNAMES = "366"
108+
106109
def handle_response (msg, output_queue)
107110
# Set some constant variables based on https://www.alien.net.au/irc/irc2numerics.html
108-
RPL_NAMREPLY = "353"
109-
RPL_ENDOFNAMES = "366"
110111

111112
if @get_stats and msg.command.to_s == RPL_NAMREPLY
112113
# Got a names list event

logstash-input-irc.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-input-irc'
4-
s.version = '0.1.4'
4+
s.version = '0.1.5'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Read events from an IRC Server."
77
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)