summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:46:23 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:46:23 +0000
commit6256df038e269521ffc3c7033ffae4de8ed5d4d1 (patch)
tree9477d25698864bc2319aa796b9c1be5bad40b2e2
parent7611a83b0055ef335eb4ada998ecaf4a685426d5 (diff)
downloadacf-dovecot-6256df038e269521ffc3c7033ffae4de8ed5d4d1.tar.bz2
acf-dovecot-6256df038e269521ffc3c7033ffae4de8ed5d4d1.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--dovecot-details-html.lsp2
-rw-r--r--dovecot-model.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/dovecot-details-html.lsp b/dovecot-details-html.lsp
index 905a057..778a3bf 100644
--- a/dovecot-details-html.lsp
+++ b/dovecot-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/dovecot-model.lua b/dovecot-model.lua
index 173ecbb..f028f83 100644
--- a/dovecot-model.lua
+++ b/dovecot-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")