1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-02 10:03:32 +00:00

Merge pull request #447 from BombBloke/patch-1

Correct minor typo in rednet.receive
This commit is contained in:
Daniel Ratcliffe 2017-09-12 18:14:34 +01:00 committed by GitHub
commit e959051239

View File

@ -113,7 +113,7 @@ function receive( sProtocolFilter, nTimeout )
if sProtocolFilter ~= nil and type( sProtocolFilter ) ~= "string" then
error( "bad argument #1 (expected string, got " .. type( sProtocolFilter ) .. ")", 2 )
end
if nTimeout ~= nil and type( nTimeoutl ) ~= "number" then
if nTimeout ~= nil and type( nTimeout ) ~= "number" then
error( "bad argument #2 (expected number, got " .. type( nTimeout ) .. ")", 2 )
end