Permalink
Browse files

Ignore empty lines

  • Loading branch information...
1 parent d1c0b2d commit 4c1e2248f8735a61d7b99ea60362d482e5a2bba2 @JakobOvrum committed Apr 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.lua
View
@@ -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

0 comments on commit 4c1e224

Please sign in to comment.