1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-01-09 17:40:29 +01:00

Fixing wrong method call

This commit is contained in:
Joshua Simmons 2010-07-21 01:11:29 +10:00
parent 1d8509a4f8
commit d3c6ab849b

View File

@ -155,7 +155,7 @@ local function getline(self, errlevel)
if err ~= "timeout" and err ~= "wantread" then
self:invoke("OnDisconnect", err, true)
self:close()
self:shutdown()
error(err, errlevel)
end
end