mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
parent
b050cf98a6
commit
582f7a3635
@ -104,6 +104,12 @@ function msg_meta:fromRFC1459(line)
|
|||||||
|
|
||||||
local pos
|
local pos
|
||||||
self.command, pos = line:match("(%S+)()")
|
self.command, pos = line:match("(%S+)()")
|
||||||
|
-- /MFF BEGIN
|
||||||
|
if not pos then
|
||||||
|
minetest.log("error", "[IRC] This crash message was intended to see the value of a breaking variable. line = " .. (line or "nil"))
|
||||||
|
return
|
||||||
|
end
|
||||||
|
-- /MFF END (Mg|06/01/2015)
|
||||||
line = line:sub(pos)
|
line = line:sub(pos)
|
||||||
|
|
||||||
self.args = self.args or {}
|
self.args = self.args or {}
|
||||||
|
@ -103,6 +103,12 @@ function msg_meta:fromRFC1459(line)
|
|||||||
|
|
||||||
local pos
|
local pos
|
||||||
self.command, pos = line:match("(%S+)()")
|
self.command, pos = line:match("(%S+)()")
|
||||||
|
-- /MFF BEGIN
|
||||||
|
if not pos then
|
||||||
|
minetest.log("error", "[IRC] This crash message was intended to see the value of a breaking variable. line = " .. (line or "nil"))
|
||||||
|
return
|
||||||
|
end
|
||||||
|
-- /MFF END (Mg|06/01/2015)
|
||||||
line = line:sub(pos)
|
line = line:sub(pos)
|
||||||
|
|
||||||
self.args = self.args or {}
|
self.args = self.args or {}
|
||||||
|
Loading…
Reference in New Issue
Block a user