mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Make sure irc password field is set correctly.
This commit is contained in:
parent
0ab564e4a3
commit
4b52166655
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class LogStash::Inputs::Irc < LogStash::Inputs::Base
|
|||
c.realname = @real
|
||||
c.user = @user
|
||||
c.channels = @channels
|
||||
c.password = @password
|
||||
c.password = @password.value rescue nil
|
||||
c.ssl.use = @secure
|
||||
end
|
||||
queue = @irc_queue
|
||||
|
|
|
@ -51,7 +51,7 @@ class LogStash::Outputs::Irc < LogStash::Outputs::Base
|
|||
c.user = @user
|
||||
c.realname = @real
|
||||
c.channels = @channels
|
||||
c.password = @password
|
||||
c.password = @password.value rescue nil
|
||||
end
|
||||
Thread.new(@bot) do |bot|
|
||||
bot.start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue