mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-25 01:10:20 +01:00
Fixed bug in previously untested path
This commit is contained in:
parent
ca3ae42726
commit
103d9cf4ce
2
init.lua
2
init.lua
@ -108,7 +108,7 @@ local function getline(self, errlevel)
|
|||||||
line, err = self.socket:receive("*l")
|
line, err = self.socket:receive("*l")
|
||||||
|
|
||||||
if not line and err ~= "timeout" then
|
if not line and err ~= "timeout" then
|
||||||
o:invoke("OnDisconnect", err, true)
|
self:invoke("OnDisconnect", err, true)
|
||||||
self:shutdown()
|
self:shutdown()
|
||||||
error(err, errlevel)
|
error(err, errlevel)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user