summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:39:33 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:39:33 +0000
commit7170be73ce8cdc777c07544c680b0754f826d012 (patch)
tree320b06cec1df9d20bf309b0cd62333a3cfa97e7d
parent2cef04eb5da9b1d48fda15452cebe8df6140d625 (diff)
downloadacf-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.lsp2
-rw-r--r--clamsmtp-model.lua2
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")