summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tcpproxy-listsmtpentries-html.lsp2
-rw-r--r--tcpproxy-listsmtpfiles-html.lsp2
-rw-r--r--tcpproxy-model.lua4
-rw-r--r--tcpproxy-smtpstatus-html.lsp2
4 files changed, 5 insertions, 5 deletions
diff --git a/tcpproxy-listsmtpentries-html.lsp b/tcpproxy-listsmtpentries-html.lsp
index b1edcb9..6fffd1b 100644
--- a/tcpproxy-listsmtpentries-html.lsp
+++ b/tcpproxy-listsmtpentries-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/tcpproxy-listsmtpfiles-html.lsp b/tcpproxy-listsmtpfiles-html.lsp
index 0e58703..8918a7e 100644
--- a/tcpproxy-listsmtpfiles-html.lsp
+++ b/tcpproxy-listsmtpfiles-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/tcpproxy-model.lua b/tcpproxy-model.lua
index 3d05062..9f6f8a5 100644
--- a/tcpproxy-model.lua
+++ b/tcpproxy-model.lua
@@ -1,10 +1,10 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
validator = require("acf.validator")
fs = require("acf.fs")
-require("posix")
+posix = require("posix")
format = require("acf.format")
processinfo = require("acf.processinfo")
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp
index baeaf2c..d5f4a46 100644
--- a/tcpproxy-smtpstatus-html.lsp
+++ b/tcpproxy-smtpstatus-html.lsp
@@ -1,5 +1,5 @@
<% local view, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>