mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 01:50:26 +01:00
Ignore empty lines
This commit is contained in:
parent
d1c0b2d271
commit
4c1e2248f8
2
init.lua
2
init.lua
@ -162,7 +162,7 @@ end
|
|||||||
function meta:think()
|
function meta:think()
|
||||||
while true do
|
while true do
|
||||||
local line = getline(self, 3)
|
local line = getline(self, 3)
|
||||||
if line then
|
if line and #line > 0 then
|
||||||
if not self:invoke("OnRaw", line) then
|
if not self:invoke("OnRaw", line) then
|
||||||
self:handle(parse(line))
|
self:handle(parse(line))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user