Software /
code /
verse
Changeset
361:451dbad2a8e6
verse: Import LuaSocket properly (especially for 5.2)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Sep 2014 22:15:13 +0200 |
parents | 360:ac3940bad1bf |
children | 362:d8c3e94d765d |
files | init.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/init.lua Thu Sep 18 22:00:58 2014 +0200 +++ b/init.lua Tue Sep 23 22:15:13 2014 +0200 @@ -3,7 +3,7 @@ pcall(require, "luarocks.require"); -- Load LuaSec if available -pcall(require, "ssl"); +local socket = require"socket"; local server = require "net.server"; local events = require "util.events";