diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/dependencies.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 491bfd9b..a259c263 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -79,6 +79,9 @@ function check_dependencies() ["Source"] = "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"; }); fatal = true; + elseif not _G.socket then + -- COMPAT Code expecting LuaSocket to export as a global + _G.socket = socket; end local lfs, err = softreq "lfs" |