mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-15 23:33:16 +00:00
Remove redundant condition in io.read
This commit is contained in:
parent
2ba6d5815b
commit
ad74893058
@ -147,7 +147,7 @@ handleMetatable = {
|
||||
|
||||
if format == "l" then
|
||||
if handle.readLine then res = handle.readLine() end
|
||||
elseif format == "L" and handle.readLine then
|
||||
elseif format == "L" then
|
||||
if handle.readLine then res = handle.readLine(true) end
|
||||
elseif format == "a" then
|
||||
if handle.readAll then res = handle.readAll() or "" end
|
||||
|
Loading…
x
Reference in New Issue
Block a user