1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2024-11-05 10:00:28 +01:00

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

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