summaryrefslogtreecommitdiffstats
path: root/kamailio-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:55:27 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:55:27 +0000
commitdb68ed71e71fc443d47cea8c9c91b0302e8339ec (patch)
tree95f6df80def5b4d105b86755fb1e6c3236895042 /kamailio-model.lua
parent5d8563ffe7ebfe596179baebc016ba7fa1905381 (diff)
downloadacf-kamailio-db68ed71e71fc443d47cea8c9c91b0302e8339ec.tar.bz2
acf-kamailio-db68ed71e71fc443d47cea8c9c91b0302e8339ec.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'kamailio-model.lua')
-rw-r--r--kamailio-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/kamailio-model.lua b/kamailio-model.lua
index 2243145..e1fc31e 100644
--- a/kamailio-model.lua
+++ b/kamailio-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")