diff --git a/src/main/resources/assets/computercraft/lua/rom/apis/io.lua b/src/main/resources/assets/computercraft/lua/rom/apis/io.lua index 130b49e02..8681d9d9e 100644 --- a/src/main/resources/assets/computercraft/lua/rom/apis/io.lua +++ b/src/main/resources/assets/computercraft/lua/rom/apis/io.lua @@ -54,7 +54,7 @@ function input( _arg ) end function lines( _sFileName ) - if _G.type( _sFileNamel ) ~= "string" then + if _G.type( _sFileName ) ~= "string" then error( "bad argument #1 (expected string, got " .. _G.type( _sFileName ) .. ")", 2 ) end if _sFileName then