summaryrefslogtreecommitdiffstats
path: root/tinydns-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:16:45 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:16:45 +0000
commit2c7c737a1142200129264ab677489047971f045e (patch)
tree950729a0657a7684f432cce5baf091ddaec5b01f /tinydns-model.lua
parent6731108f380a783cfe4a12dfa93de229b97fe29b (diff)
downloadacf-tinydns-2c7c737a1142200129264ab677489047971f045e.tar.bz2
acf-tinydns-2c7c737a1142200129264ab677489047971f045e.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'tinydns-model.lua')
-rw-r--r--tinydns-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tinydns-model.lua b/tinydns-model.lua
index c3d192c..1ef3bac 100644
--- a/tinydns-model.lua
+++ b/tinydns-model.lua
@@ -1,13 +1,13 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")
validator = require("acf.validator")
-require("authenticator")
-require("roles")
-require("posix")
+authenticator = require("authenticator")
+roles = require("roles")
+posix = require("posix")
-- Set variables
local configfiles = {}