Software /
code /
verse
Comparison
init.lua @ 237:d158c97556b4
verse: require('util.logger') (besides being correct, also fixes a silly bug when loading verse twice)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 27 Nov 2011 22:07:59 +0000 |
parent | 236:d75a209e57fc |
child | 238:9b6fca5d9a02 |
comparison
equal
deleted
inserted
replaced
236:d75a209e57fc | 237:d158c97556b4 |
---|---|
5 -- Load LuaSec if available | 5 -- Load LuaSec if available |
6 pcall(require, "ssl"); | 6 pcall(require, "ssl"); |
7 | 7 |
8 local server = require "net.server"; | 8 local server = require "net.server"; |
9 local events = require "util.events"; | 9 local events = require "util.events"; |
10 local logger = require "util.logger"; | |
10 | 11 |
11 module("verse", package.seeall); | 12 module("verse", package.seeall); |
12 local verse = _M; | 13 local verse = _M; |
13 _M.server = server; | 14 _M.server = server; |
14 | 15 |