mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Patched parser a bit
This commit is contained in:
parent
1fa8f6405f
commit
531f584a56
2
util.lua
2
util.lua
@ -17,7 +17,7 @@ function parse(line)
|
|||||||
lineStart = space
|
lineStart = space
|
||||||
end
|
end
|
||||||
|
|
||||||
local trailToken = line:find(":", lineStart)
|
local _, trailToken = line:find("%s+:", lineStart)
|
||||||
local lineStop = line:len()
|
local lineStop = line:len()
|
||||||
local trailing
|
local trailing
|
||||||
if trailToken then
|
if trailToken then
|
||||||
|
Loading…
Reference in New Issue
Block a user