summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetchmail-config-html.lsp2
-rw-r--r--fetchmail-listentries-html.lsp2
-rw-r--r--fetchmail-model.lua4
3 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail-config-html.lsp b/fetchmail-config-html.lsp
index e3df87e..fc725c7 100644
--- a/fetchmail-config-html.lsp
+++ b/fetchmail-config-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ... %>
-<% require("htmlviewfunctions") %>
+<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<% htmlviewfunctions.displaycommandresults({"editconfig", "editentry", "deleteentry", "createentry"}, session) %>
diff --git a/fetchmail-listentries-html.lsp b/fetchmail-listentries-html.lsp
index d44c9d2..b19f2ca 100644
--- a/fetchmail-listentries-html.lsp
+++ b/fetchmail-listentries-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/fetchmail-model.lua b/fetchmail-model.lua
index bfe07b9..ba896c9 100644
--- a/fetchmail-model.lua
+++ b/fetchmail-model.lua
@@ -1,8 +1,8 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
-require("posix")
+modelfunctions = require("modelfunctions")
+posix = require("posix")
fs = require("acf.fs")
format = require("acf.format")
validator = require("acf.validator")