summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clamav-details-html.lsp2
-rw-r--r--clamav-listfiles-html.lsp2
-rw-r--r--clamav-model.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/clamav-details-html.lsp b/clamav-details-html.lsp
index 905a057..778a3bf 100644
--- a/clamav-details-html.lsp
+++ b/clamav-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/clamav-listfiles-html.lsp b/clamav-listfiles-html.lsp
index 0d2e49f..e2da86b 100644
--- a/clamav-listfiles-html.lsp
+++ b/clamav-listfiles-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary, page_info, session = ...
-require("htmlviewfunctions")
+htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
diff --git a/clamav-model.lua b/clamav-model.lua
index e42a76e..d83484d 100644
--- a/clamav-model.lua
+++ b/clamav-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
fs = require("acf.fs")
format = require("acf.format")