Fixing wrong method call

This commit is contained in:
Joshua Simmons 2010-07-21 01:11:29 +10:00
parent 1d8509a4f8
commit d3c6ab849b
1 changed files with 1 additions and 1 deletions

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