Fixed bug in previously untested path

This commit is contained in:
Jakob Ovrum 2010-07-16 14:01:05 +09:00
parent ca3ae42726
commit 103d9cf4ce
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ local function getline(self, errlevel)
line, err = self.socket:receive("*l")
if not line and err ~= "timeout" then
o:invoke("OnDisconnect", err, true)
self:invoke("OnDisconnect", err, true)
self:shutdown()
error(err, errlevel)
end