diff options
author | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:39:33 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2013-10-09 20:39:33 +0000 |
commit | 7170be73ce8cdc777c07544c680b0754f826d012 (patch) | |
tree | 320b06cec1df9d20bf309b0cd62333a3cfa97e7d | |
parent | 2cef04eb5da9b1d48fda15452cebe8df6140d625 (diff) | |
download | acf-clamsmtp-7170be73ce8cdc777c07544c680b0754f826d012.tar.bz2 acf-clamsmtp-7170be73ce8cdc777c07544c680b0754f826d012.tar.xz |
Change use of require to work with Lua 5.2
-rw-r--r-- | clamsmtp-details-html.lsp | 2 | ||||
-rw-r--r-- | clamsmtp-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clamsmtp-details-html.lsp b/clamsmtp-details-html.lsp index 905a057..778a3bf 100644 --- a/clamsmtp-details-html.lsp +++ b/clamsmtp-details-html.lsp @@ -1,5 +1,5 @@ <% local data, viewlibrary = ... -require("htmlviewfunctions") +htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> diff --git a/clamsmtp-model.lua b/clamsmtp-model.lua index c2d7c6a..f598191 100644 --- a/clamsmtp-model.lua +++ b/clamsmtp-model.lua @@ -1,7 +1,7 @@ module(..., package.seeall) -- Load libraries -require("modelfunctions") +modelfunctions = require("modelfunctions") fs = require("acf.fs") format = require("acf.format") |