diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:55:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-04 16:50:13 +0000 |
commit | 44560e46a781bd906c6b64966f3e4c58162df767 (patch) | |
tree | a898a5494da9abc42c5f12c01c3650c8d69b4291 /kamailio-model.lua | |
parent | 78c88843fbdb0cb1cd51e9299c18ec729044ec47 (diff) | |
download | acf-kamailio-44560e46a781bd906c6b64966f3e4c58162df767.tar.bz2 acf-kamailio-44560e46a781bd906c6b64966f3e4c58162df767.tar.xz |
Change use of require to work with Lua 5.2
(cherry picked from commit db68ed71e71fc443d47cea8c9c91b0302e8339ec)
Conflicts:
kamailio-listtables-html.lsp
kamailio-model.lua
kamailio-viewtable-html.lsp
Diffstat (limited to 'kamailio-model.lua')
-rw-r--r-- | kamailio-model.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kamailio-model.lua b/kamailio-model.lua index abfd19b..103890f 100644 --- a/kamailio-model.lua +++ b/kamailio-model.lua @@ -1,9 +1,9 @@ local mymodule = {} -- Load libraries -require("posix") -require("modelfunctions") -require("dbmodelfunctions") +posix = require("posix") +modelfunctions = require("modelfunctions") +dbmodelfunctions = require("dbmodelfunctions") fs = require("acf.fs") format = require("acf.format") validator = require("acf.validator") |