mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Fixing wrong method call
This commit is contained in:
parent
1d8509a4f8
commit
d3c6ab849b
2
init.lua
2
init.lua
@ -155,7 +155,7 @@ local function getline(self, errlevel)
|
|||||||
|
|
||||||
if err ~= "timeout" and err ~= "wantread" then
|
if err ~= "timeout" and err ~= "wantread" then
|
||||||
self:invoke("OnDisconnect", err, true)
|
self:invoke("OnDisconnect", err, true)
|
||||||
self:close()
|
self:shutdown()
|
||||||
error(err, errlevel)
|
error(err, errlevel)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user