mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
wrong timeout string
This commit is contained in:
parent
a62478fce2
commit
8716e71f6d
@ -81,7 +81,7 @@ function writeIRC(...)
|
||||
-- Gives it to the socket and sees how much it accepted
|
||||
local s, err = ircSocket:send(ircWBuf)
|
||||
-- If it cant the socket terminated.
|
||||
if not s and err~="\n" then
|
||||
if not s and err~="timeout" then
|
||||
log("Error", "IRC connection failed: ", err)
|
||||
terminate(-1)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user