summaryrefslogtreecommitdiffstats
path: root/dnscache-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:45:07 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:45:07 +0000
commit3376bd99df1baa9105d37a45ed9f1412be4243cb (patch)
treefa002e745e634524755e2f51bb423a1646e723d4 /dnscache-model.lua
parent13e12be02111270a92db0737874e593019ea9377 (diff)
downloadacf-dnscache-3376bd99df1baa9105d37a45ed9f1412be4243cb.tar.bz2
acf-dnscache-3376bd99df1baa9105d37a45ed9f1412be4243cb.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'dnscache-model.lua')
-rw-r--r--dnscache-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/dnscache-model.lua b/dnscache-model.lua
index 7a028a4..192e04c 100644
--- a/dnscache-model.lua
+++ b/dnscache-model.lua
@@ -1,8 +1,8 @@
module(..., package.seeall)
-- Load libraries
-require("posix")
-require("modelfunctions")
+posix = require("posix")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")
validator = require("acf.validator")