Ignore empty lines

This commit is contained in:
Jakob Ovrum 2011-04-24 08:24:14 +09:00
parent d1c0b2d271
commit 4c1e2248f8
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ end
function meta:think()
while true do
local line = getline(self, 3)
if line then
if line and #line > 0 then
if not self:invoke("OnRaw", line) then
self:handle(parse(line))
end